Query_Lang-PCBFunctions_Fields_StringTypeStringType_AD
Created: 九月 02, 2015 | Updated: 八月 19, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
您正在阅读的是 20. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_StringType((StringType))_AD 阅读 21 版本
Parent page: PCB Query Functions - Fields
Summary
Returns all text objects whose String Type property complies with the Query.
Syntax
StringType = StringType_String
StringType <> StringType_String
StringType_String
must be one of the strings from the following list:
'Comment'
'Designator'
'Free'
Example Usage
StringType = 'Designator'
Returns all text objects whose String Type property is Designator
.
StringType <> 'Free'
Returns all objects except text objects whose String Type property is Free
.
StringType = 'Comment' || StringType = 'Designator'
IsString && StringType <> 'Free'
Returns all text objects whose String Type property is not Free
.
Tips
- The String Type property is only defined for text objects.
- The single quote characters (') at the start and end of
StringType_String
are mandatory.