Method, Property, or Event |
Description |
|---|---|
| Count Property (Components Object) | Returns the number of component objects in the Components object. |
| Item Method (Components Object) | Returns a Component object contained in the collection. |
| Application_AddComponent Event | You can use the Application_AddComponent event to check a component’s properties before adding it to the schematic. For example, checking if the approved part’s properties exist before instantiating a component can help prevent adding unapproved parts to the schematic. |
| Application_AfterAddComponent Event | The Application_AfterAddComponent event is used in a DataBook script to make direct changes to the component on a schematic. |
| Application_AfterAnnotateComponent Event | The Application_AfterAnnotateComponent event is used in a DataBook script to make direct changes to the component on a schematic. |
| Application_AnnotateComponent Event | The Application_AnnotateComponent event is used in a DataBook script to prevent unapproved parts from being added to the schematic by making sure the approved part property exists before instantiating a component. |
| Application_LoadComponent Event | The Application_LoadComponent event is used in a DataBook script to override the mapping from the loaded component to the library used in the DataBook search. |