Query_Lang-SCHFunctions_Fields_ObjectKindObjectKind_AD

您正在阅读的是 17.1. 版本。关于最新版本,请前往 Query_Lang-SCHFunctions_Fields_ObjectKind((ObjectKind))_AD 阅读 21 版本

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', 'Junction''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', 'Elliptical Arc', 'Harness Connector Type', 'Hyperlink', 'IEEE Symbol', 'Image', 'Line', 'Note', 'Parameter', 'Pie', '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

  1. The single quote characters (') at the start and end of ObjectKind_String are mandatory.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

您可以使用的功能取决于您的 Altium 订阅级别。如果您在软件中找不到某个功能,请联系 Altium 的销售人员以获取更多信息。