Query_Lang-PCBFunctions_Fields_BarCodeTypeBarCodeType_AD
Created: 九月 07, 2015 | Updated: 八月 11, 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
您正在阅读的是 19. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_BarCodeType((BarCodeType))_AD 阅读 21 版本
Parent page: PCB Query Functions - Fields
Summary
Returns all text string objects whose BarCode Type property complies with the Query.
Syntax
BarCodeType = CodeType_String
BarCodeType <> CodeType_String
CodeType_String must be one of the strings from the following list:
- 'Code 39'
- 'Code 128'
Example Usage
BarCodeType = 'Code 39'
Returns all text string objects whose BarCode Type property is Code 39.
BarCodeType <> 'Code 128'
Returns all objects except text string objects whose BarCode Type property is Code 128.
Tips
- The single quote characters (') at the start and end of CodeType_String are mandatory.
- The BarCode Type property is only defined for text string objects.
- Use of this keyword will also return the text string child primitive objects of group design objects (component, coordinate, dimension, drill table, and layer stack table objects), whose BarCode Type property complies with the Query. Should you wish to target solely text string objects that have been configured as barcode text, use an additional keyword prefix to target those objects. An example query expression would be IsBarCodeText And (BarCodeType = 'Code 39').