Query_Lang-SCHFunctions_Fields_ObjectKindObjectKind_AD
This document is no longer available beyond version 4.0. Information can now be found here: ObjectKind for version 5
Parent page: Schematic Query Functions - Fields
Summary
Returns all objects whose Object Kind property complies with the Query.
Syntax
ObjectKind = ObjectKind_String
ObjectKind <> ObjectKind_String
ObjectKind_String specifies the object kind and must be one of the following strings:
Electrical Objects – 'Blanket', 'Bus' , 'Bus Entry', 'Compile Mask', 'Harness Connector', 'Harness Entry', 'Net Label', 'No ERC', 'Off Sheet Connector', 'Parameter Set', 'Part', 'Pin', 'Port', 'Power Object', 'Probe', 'Sheet Entry', 'Sheet Symbol', 'Signal Harness', 'Wire'.
Non-Electrical Objects – 'Arc', 'Bezier', 'Designator', 'Ellipse', 'Harness Connector Type', 'IEEE Symbol', 'Image', 'Line', 'Note', 'Parameter', 'Polygon', 'Rectangle', 'Round Rectangle', 'Sheet File Name', 'Sheet Name', 'Text Frame', 'Text String'.
Example Usage
ObjectKind = 'Bus'
Returns all bus objects.
ObjectKind <> 'Pie'
Returns all objects except for pie charts.
ObjectKind = 'Line'
Returns all line objects.
Tips
- The single quote characters (') at the start and end of
ObjectKind_Stringare mandatory.