AttributeValues Tag Syntax
An XML document used for a rule must contain one AttributeValues tag. This tag identifies the Windchill object type for which the rule applies.
The AttributeValues tag syntax is as follows:
<AttributeValues objType="supported_type">
.
.
</AttributeValues>
For example, use the following XML for documents, where the object type is wt.doc.WTDocument:
<AttributeValues objType="wt.doc.WTDocument">
.
.
</AttributeValues>
The supported types that you can specify include the subtypes of supported types. For example, com.ptc.ReferenceDocument is the internal name defined for a subtype of wt.doc.WTDocument and can be used as the object type in the AttributeValues tag.
Nested in this tag can be one or more of the AttrValue, AttrConstraint, or VarDef tags or a combination of these tags.
The supported types that can be used in the AttributeValues tag are the same as the set of types that you specify when you create the rule. For a list of the types, see Creating a Rule.
Isto foi útil?