Arbortext IsoDraw > Macro Language Reference > Menu Commands > Edit Menu > Select If / SubSelect If > [Sub]Select If Object Attribute
  
[Sub]Select If Object Attribute
Selects elements based on the specified OBJECT_ATTRIBUTE name in the currently selected Document Type Definition (DTD).
* 
Some attributes assigned to an object depend on the selected DTD. Use this command to select objects based on the names of DTD-specific object attributes.
SELECT IFSUBSELECT IFOBJECT_ATTRIBUTEISNOTEQUAL TOCONTAINS"object_attribute_name"
or
SELECT IFSUBSELECT IFOBJECT_ATTRIBUTEEXISTSNOT
Parameters:
object_attribute_name
any "string"
Condition
Selects element if…
(IS or) IS EQUAL TO
it has an DTD-specific object attribute with a name that matches the specified object_attribute_name string.
(IS NOT or) IS NOT EQUAL TO
it has an DTD-specific object attribute with a name that does not match the specified object_attribute_name string.
CONTAINS
it has an DTD-specific object attribute with a name that contains or matches the specified object_attribute_name string.
EXISTS
it has an DTD-specific object attribute.
EXISTS NOT
it does not have an DTD-specific object attribute.
# Suppose the current DTD assigns the additional
# attribute named "PartNo" to objects.
# The following command sequence selects elements
# that have "PartNo" assigned to them:

SELECT IF OBJECT_ATTRIBUTE EXISTS
SUBSELECT IF OBJECT_ATTRIBUTE IS EQUAL TO "PartNo"