Functions listed below can be called from a query expression.
Determine length of a list.
Arguments:
Return value: integer length of the list.
Create a list of the objects passed.
Arguments:
Variable number of objects.
Return value: the list.
Calculate the distance of two points.
Arguments:
Return value: floating point distance value in nanometers.
Returns the absolute value of a number
Returns the argument converted to an integer (truncating floating point numbers)
Returns the argument converted to a double precision number.
Returns the object addressed by idpath.
Arguments:
Return value: the addressed object or void.
Returns the number of invalid characters of a text object. An invalid character is not rendering with the current font of the text (it is out of range or the font does not have a symbol for the character).
Arguments:
Return value: a positive integer; 0 means all characters would render properly
Execute a pcb-rnd action.
Arguments: variable nunmber of objects and constants.
Return value: invalid on error, or the return value of the action.
Converts str to coordinates. Useful when using attribute values.
Arguments:
Return value: integer length of the list.
Checks whether value is void (invalid).
Arguments:
Return value: 1 if value is void (invalid), 0 otherwise.
Fetch the value of a config node
Arguments:
Return value: invalid if the config node doesn't exist, else the value of the config node (converted to the most appropriate data type).
Build a DRC violation report (a list object).
Arguments (a variable number of pairs of instruction and value):
Instruction is one of the following constants:
Return value: a list suitable for the drc_query to process.