wheprovider.blogg.se

Altium designer viewer cannot open document
Altium designer viewer cannot open document





GetCurrentPCBBoard example TheServer := PCBServer.GetCurrentPCBBoard The IPCB_Board interface points to an existing PCB document in Altium Designer.The IPCB_Primitive interface is a generic interface used for all PCB design object interfaces.The IPCB_ServerInterface interface is the gateway to fetching other PCB objects. To use PCB interfaces, you need to obtain the IPCB_ServerInterface object by invoking the PCBServer function. The IPCB_ServerInterface interface is the main interface in the PCB API.For example, to get an access to the current PCB document open in Altium Designer, you would invoke the GetCurrentPCBBoard method from the IPCB_ServerInterface interface object. When you need to work with PCB design objects in Altium Designer, the starting point is to invoke the PCBServer function and with the IPCB_ServerInterface interface, you can extract the all other derived PCB interfaces that are exposed in the IPCB_ServerInterface interface. Simplified PCB Objects Interfaces hierarchy Below is the simplified PCB object interface hierarchy. The IPCB_ServerInterface and IPCB_Board interfaces are the main interfaces that you will be dealing with when you are extracting data from a PCB or PCB Library document. With this interface, you can proceed further by iterating for certain PCB objects. This is the main interface and contains many interfaces within it. To have access to the PCB server and massage certain PCB design objects, you need to invoke the PCBServer function which extracts the IPCB_ServerInterface interface. An interface is a means of access to an object in memory. The PCB API derives its functionality from the base Altium Designer API which contains interface objects declarations and type declarations. The PCB interfaces exposed by the PCB editor refer to opened PCB documents and the objects on them.

altium designer viewer cannot open document

The objects shown on a document are stored in its corresponding design database. The PCB API allows a programmer to fetch or modify PCB objects and their attributes from a PCB document. While many of the principles and approaches will remain the same, be aware that interfaces, objects, methods, properties, and the like will have changed since then, and will not reflect the entirety of those found in later versions of the software. Please note that this documentation was last updated for an older version of Altium Designer.







Altium designer viewer cannot open document