概要
Object Kind プロパティが指定したオブジェクト種別に一致する、すべてのオブジェクトを返します。
構文
IsObjectKind(ObjectType : String) : Boolean/Boolean_String
ObjectType はオブジェクト種別を指定し、次のいずれかの文字列でなければなりません:
-
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 – 次の文字列は各種ルールタイプを対象にするために使用されます。文字列の後ろの括弧内には、PCB Rules and Constraints Editor ダイアログに表示されるルールタイプ名を示します:
-
'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', 'Net', 'Violation'.
使用例
IsObjectKind('Via')
IsObjectKind('Via') = True
IsObjectKind('Via') = 'True'
すべてのビアオブジェクトを返します。
Not IsObjectKind('Track')
IsObjectKind('Track') = False
IsObjectKind('Track') = 'False'
トラックオブジェクトを除く、すべてのオブジェクトを返します。
注記
ObjectType 文字列の先頭と末尾にあるシングルクォート(')は必須です。