Query_Lang-PCBFunctions_Fields_ObjectKindObjectKind_AD
Created: Juni 23, 2017 | Updated: März 06, 2024
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 1.1. For the latest, read: Query_Lang-PCBFunctions_Fields_ObjectKind((ObjectKind))_AD for version 4
Parent page: PCB 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:
- Design Objects –
'3D Body'
,'Arc'
,'Angular Dimension'
,'Baseline Dimension'
,'Center Dimension'
,'Component'
,'Coordinate'
,'Datum Dimension'
,'Design View'
,'Drill Table'
,'Embedded Board',
'Fill'
,'Layer Stack Table'
,'Leader Dimension'
,'Linear Diameter Dimension'
,'Linear Dimension'
,'OLE Object'
,'Original Dimension'
,'Pad'
,'Poly'
,'Radial Diameter Dimension'
,'Radial Dimension'
,'Region'
, 'Split Plane','Text'
,'Track'
,'Via'
. - Design Rules – the following strings are used to target the various rule types. The rule type, as it appears in the PCB Rules and Constraints Editor dialog, is shown in brackets after the string:
- 'Acute Angle Rule'(Acute Angle)
- 'Bare-board Fabrication Test Point Style Rule'(Fabrication Testpoint Style)
- 'Bare-board Fabrication Test Point Usage Rule'(Fabrication Testpoint Usage)
- 'Board Outline Clearance'(Board Outline Clearance)
'Broken Nets Rule'
(Un-Routed Net)'Clearance Rule'
(Clearance)'Component Clearance Rule'
(Component Clearance)'Component Rotations Rule'
(Component Orientations)- 'Confinement Constraint Rule'(Room Definition)
- 'Daisy Chain Stub Length Rule'(Daisy Chain Stub Length)
- 'Differential Pairs Rule'(Differential Pairs Routing)
'Fanout Control Rule'
(Fanout Control)- 'Flight Time Falling Edge Rule'(Flight Time - Falling Edge)
- 'Flight Time Rising Edge Rule'(Flight Time - Rising Edge)
- 'Hole To Hole Clearance Rule'(Hole To Hole Clearance)
- 'In-circuit Assembly Test Point Style Rule'(Assembly Testpoint Style)
- 'In-circuit Assembly Test Point Usage Rule'(Assembly Testpoint Usage)
- 'Layer Pair Rule'(Layer Pairs)
- 'Matched Lengths Rule'(Matched Lengths)
'Max Min Height Rule'
(Height)- 'Max Min Hole Size Rule'(Hole Size)
- 'Max Min Impedance Rule'(Impedance)
- 'Max Min Length Rule'(Length)
'Max Min Width Rule'
(Width)- 'Max Slope Falling Edge Rule'(Slope - Falling Edge)
- 'Max Slope Rising Edge Rule'(Slope - Rising Edge)
- 'Max Via Stub Length (BackDrilling rule)' (Max Via Stub Length (Back Drilling))
- 'Maximum Via Count Rule'(Maximum Via Count)
- 'Minimum Annular Ring Rule'(Minimum Annular Ring)
- 'Minimum Solder Mask Sliver Rule'(Minimum Solder Mask Sliver)
- 'Modified Polygon'(Modified Polygon)
- 'Net Antennae Rule'(Net Antennae)
- 'Nets To Ignore Rule'(Nets to Ignore)
- 'Overshoot Falling Edge Rule'(Overshoot - Falling Edge)
- 'Overshoot Rising Edge Rule'(Overshoot - Rising Edge)
- 'Parallel Segment Rule'(Parallel Segment)
'Paste Mask Expansion Rule'
(Paste Mask Expansion)'Permitted Layers Rule'
(Permitted Layers)'Polygon Connect Style Rule'
(Polygon Connect Style)'Power Plane Clearance Rule'
(Power Plane Clearance)'Power Plane Connect Style Rule'
(Power Plane Connect Style)'Routing Corner Style Rule'
(Routing Corners)'Routing Layers Rule'
(Routing Layers)'Routing Priority Rule'
(Routing Priority)'Routing Topology Rule'
(Routing Topology)'Routing Via Style Rule'
(Routing Via Style)'Short Circuit Rule'
(Short-Circuit)- 'Signal Base Value Rule'(Signal Base Value)
- 'Signal Stimulus Rule'(Signal Stimulus)
- 'Signal Top Value Rule'(Signal Top Value)
- 'Silk To Silk Clearance Rule'(Silk To Silk Clearance)
- 'Silk To Solder Mask Clearance Rule'(Silk To Solder Mask Clearance)
- 'SMD Entry'(SMD Entry)
'SMD Neck Down Rule'
(SMD Neck-Down)'SMD To Corner Rule'
(SMD To Corner)'SMD To Plane Rule'
(SMD To Plane)'Solder Mask Expansion Rule'
(Solder Mask Expansion)- 'Supply Nets Rule'(Supply Nets)
'Unconnected Pin Rule'
(Un-Connected Pin)- 'Undershoot Falling Edge Rule'(Undershoot - Falling Edge)
- 'Undershoot Rising Edge Rule'(Undershoot - Rising Edge)
- 'Vias Under SMD Rule'(Vias Under SMD)
- Others –
'Board Region'
,'Class'
,'Differential Pair'
,'Internal Plane'
,'Net'
,'Violation'
.
Example Usage
ObjectKind = 'Class'
Returns all class objects.
ObjectKind <> 'Via'
Returns all objects except via objects.
Tips
- The single quote characters (') at the start and end of
ObjectKind_String
are mandatory. - This function is an alias for the Kind function.