Arbortext IsoDraw > Macro Language Reference > Menu Commands > Edit Menu > Select If / SubSelect If > [Sub]Select If Object Attribute Value
  
[Sub]Select If Object Attribute Value
Selects elements based on the specified OBJECT_ATTRIBUTE_VALUE in the currently selected DTD.
* 
Some attributes assigned to an object depend on the selected DTD. Use this command to select objects based on the values of DTD-specific object attributes.
SELECT IFSUBSELECT IFOBJECT_ATTRIBUTE_VALUE"object_attribute_name"ISNOTEQUAL TOCONTAINS"object_attribute_value"
or
SELECT IFSUBSELECT IFOBJECT_ATTRIBUTE_VALUE "object_attribute_value"EXISTSNOT
Parameters:
object_attribute_name
any "string"
object_attribute_value
any "string"
Condition
Selects element if…
(IS or) IS EQUAL TO
it has an DTD-specific object attribute with a value that matches the specified object_attribute_value string.
(IS NOT or) IS NOT EQUAL TO
it has an DTD-specific object attribute with a value that does not match the specified object_attribute_value string.
CONTAINS
it has an DTD-specific object attribute with a value that contains or matches the specified object_attribute_value string.
EXISTS
it has an DTD-specific object attribute with the value, object_attribute_value.
EXISTS NOT
it does not have an DTD-specific object attribute with the value object_attribute_value.
# Suppose the current DTD assigns the DTD-specific
# attribute name, "Name_E" to objects.
# The following command selects elements
# for which attribute Name_E = "Cube":

SELECT IF OBJECT_ATTRIBUTE EXISTS
SUBSELECT IF OBJECT_ATTRIBUTE_VALUE "Name_E" IS EQUAL TO "Cube"