Download Design Architect Reference Manual

Transcript
$select_by_property()
Function Dictionary
This argument is a text string containing the property name owned by
objects to be selected. This argument is a part of a repeating argument
list that also includes a property value and property type. If VOID or a
null string are used, this indicates that any property name can be
matched with a specified property value and/or property type.
o property_value (Value)
Property value is an non-case-sensitive text string containing the
property value corresponding to property_ name. If property value is
specified, and property type is not specified, property values are
compared on a character-by-character basis. If property type is
specified, only properties sharing both value and type are selected.
Property_value is a part of a repeating argument list that also includes
property name and property type. If VOID or a null string is used, this
indicates that any property value can be matched with a specified
property name and/or property type.
o property_type (Type)
Property_type is a text string containing the type of legal property
values for property name. It can have one of the following values:
"string": The value of the property name must be a string. Only
owners of properties whose property type is a string are selected if both
property name and value match.
"number": The value of the property name must be a real number or
an integer. Only owners of properties whose property type is a number
are selected if both property name and value match.
"expression": The value of the property name must be an expression
(in quotes). Only owners of properties whose property type is an
expression are selected if both property name and value match.
"triplet": The value of property_name must be a three-valued
property, containing the best-case, typical, and worst-case values for a
property, such as for Rise and Fall or Temperature properties. Each of
2-498
Design Architect Reference Manual, V8.5_1