public interface AssociativeText extends TransientObject
Modifier and Type | Interface and Description |
---|---|
static class |
AssociativeText.ObjectAttributeData
This class holds the data returned from
getObjectAttribute(java.lang.String) |
static class |
AssociativeText.PartAttributeData
This class holds the data returned from
getPartAttribute(java.lang.String) |
static class |
AssociativeText.PropertyType
the associative text property type to be used with the object
|
Modifier and Type | Method and Description |
---|---|
String |
getEvaluatedText(Annotation ann,
String text)
Evaluate the associative text specified.
|
AssociativeText.ObjectAttributeData |
getObjectAttribute(String text)
Returns the title and owning object of the object attribute referenced in the associative text.
|
String |
getObjectAttributeText(NXObject object,
String attributeTitle)
Returns the associative text for the input object and attribute title.
|
String |
getObjectPropertyText(NXObject object,
AssociativeText.PropertyType type)
Returns the associative text for the input object and its property.
|
AssociativeText.PartAttributeData |
getPartAttribute(String text)
Returns the title of the part attribute referenced in the associative text.
|
String |
getPartAttributeText(String attributeTitle)
Returns the associative text for the part attribute title.
|
_value, dispose, printTestData, printTestData
String getObjectPropertyText(NXObject object, AssociativeText.PropertyType type) throws NXException, RemoteException
DraftingView
of the DrawingSheet
.
It is not the DrawingSheet
itself, but rather the type is AssociativeText.PropertyType.DRAWING_SHEET_NAME
. object
- the objecttype
- the object propertyNXException
RemoteException
String getObjectAttributeText(NXObject object, String attributeTitle) throws NXException, RemoteException
object
- the objectattributeTitle
- the object attribute titleNXException
RemoteException
AssociativeText.ObjectAttributeData getObjectAttribute(String text) throws NXException, RemoteException
text
- the associative text to queryNXException
RemoteException
String getPartAttributeText(String attributeTitle) throws NXException, RemoteException
attributeTitle
- the part attribute titleNXException
RemoteException
AssociativeText.PartAttributeData getPartAttribute(String text) throws NXException, RemoteException
text
- the text containing associative text to queryNXException
RemoteException
String getEvaluatedText(Annotation ann, String text) throws NXException, RemoteException
ann
- Annotation used to determine
the object property value when the object is not specified. For example, given
annotation 123 and 456 where 123 resides in "Sheet 1" and 456 resides in "Sheet 2"
then the evaluated text returned for the input text "<W@$SH_SHEET_NAME>" for
annotation 123 is "Sheet 1" and for annotation 456 is "Sheet 2"text
- the text containing associative text to evaluateNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.