Altium Designer Documentation

Query_Lang-PCBFunctions_Fields_StringTypeStringType_AD

Created: September 3, 2015 | Updated: August 19, 2021
您正在阅读的是18.1版本。 关于最新版本,请前往阅读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

  1. The String Type property is only defined for text objects.
  2. The single quote characters (') at the start and end of StringType_String are mandatory.

 

Found an issue with this document? Highlight the area, then use Ctrl+Enter to report it.

联系我们

联系原厂或当地办公室

We're sorry to hear the article wasn't helpful to you.
Could you take a moment to tell us why?
200 characters remaining
You are reporting an issue with the following selected text
and/or image within the active document: