Query_Lang-PCBFunctions_Fields_StringTypeStringType_AD
Created: September 02, 2015 | Updated: August 19, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 2.0. For the latest, read: Query_Lang-PCBFunctions_Fields_StringType((StringType))_AD for version 4
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.