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. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |