Query_Lang-PCBFunctions_Fields_BarCodeTypeBarCodeType_AD
Набор доступных функций зависит от вашего уровня доступа к продуктам Altium. Ознакомьтесь с функциями, включенными в различные уровни Подписки на ПО Altium, и функциональными возможностями приложений, предоставляемых платформой Altium 365.
Если вы не видите в своем ПО функцию, описанную здесь, свяжитесь с отделом продаж Altium, чтобы узнать больше.
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all text string objects whose BarCode Type property complies with the Query.
Syntax Copy Link Copied
BarCodeType = CodeType_String
BarCodeType <> CodeType_String
CodeType_String must be one of the strings from the following list:
- 'Code 39'
- 'Code 128'
Example Usage Copy Link Copied
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 Copy Link Copied
- 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').