Package | Description |
---|---|
nxopen |
Provides classes and interfaces for the NX Open Common API.
|
nxopen.assemblies |
Provides classes and interfaces for Assemblies.
|
nxopen.routing |
Provides classes and interfaces for Routing.
|
Modifier and Type | Field and Description |
---|---|
static NXObject.AttributeType |
NXObject.AttributeType.ANY
All types (used only for queries)
|
static NXObject.AttributeType |
NXObject.AttributeType.BOOLEAN
Boolean
|
static NXObject.AttributeType |
NXObject.AttributeType.INTEGER
Integer
|
static NXObject.AttributeType |
NXObject.AttributeType.INVALID
Invalid
|
static NXObject.AttributeType |
NXObject.AttributeType.NULL
Null
|
static NXObject.AttributeType |
NXObject.AttributeType.REAL
Real
|
static NXObject.AttributeType |
NXObject.AttributeType.REFERENCE
Deprecated.
|
static NXObject.AttributeType |
NXObject.AttributeType.STRING
String
|
static NXObject.AttributeType |
NXObject.AttributeType.TIME
Time and Date
|
NXObject.AttributeType |
NXObject.AttributeInformation.type
Attribute type
|
Modifier and Type | Method and Description |
---|---|
static NXObject.AttributeType |
NXObject.AttributeType.valueOf(int value)
Returns the enum constant of the specified enum type with the specified value.
|
static NXObject.AttributeType |
NXObject.AttributeType.valueOf(String name)
Returns the enum constant of the specified enum type with the specified name.
|
static NXObject.AttributeType[] |
NXObject.AttributeType.values()
Returns an array that contains the values for this enum.
|
Modifier and Type | Method and Description |
---|---|
void |
NXObject.deleteAllAttributesByType(NXObject.AttributeType type)
Deprecated.
Deprecated in NX8.0.0. Use
NXObject.deleteUserAttributes(nxopen.AttributeIterator, nxopen.Update.Option) instead.
|
void |
NXObject.deleteAllAttributesByType(NXObject.AttributeType type,
Update.Option option)
Deprecated.
Deprecated in NX8.0.0. Use
NXObject.deleteUserAttributes(nxopen.AttributeIterator, nxopen.Update.Option) instead.
|
void |
NXObject.deleteAttributeByTypeAndTitle(NXObject.AttributeType type,
String title)
Deprecated.
Deprecated in NX8.0.0. Use
NXObject.deleteUserAttribute(nxopen.NXObject.AttributeType, java.lang.String, boolean, nxopen.Update.Option) instead.
|
void |
NXObject.deleteAttributeByTypeAndTitle(NXObject.AttributeType type,
String title,
Update.Option option)
Deprecated.
Deprecated in NX8.0.0. Use
NXObject.deleteUserAttribute(nxopen.NXObject.AttributeType, java.lang.String, boolean, nxopen.Update.Option) instead.
|
void |
NXObject.deleteUserAttribute(NXObject.AttributeType type,
String title,
boolean deleteEntireArray,
Update.Option option)
Deletes the first attribute encountered with the given Type, Title.
|
void |
NXObject.deleteUserAttributes(NXObject.AttributeType type,
Update.Option option)
Deletes the attributes encountered with the given Type with option to update or not.
|
Expression |
ExpressionCollection.getAttributeExpression(NXObject object,
String title,
NXObject.AttributeType type,
int index)
Get the attribute expression of the specified attribute title/type.
|
NXObject.AttributeInformation[] |
NXObject.getAttributeTitlesByType(NXObject.AttributeType type)
Deprecated.
Deprecated in NX8.0.0. Use
NXObject.getUserAttributes(nxopen.AttributeIterator) instead.
|
NXObject.AttributeInformation[] |
NXObject.getUserAttribute(String title,
boolean includeUnset,
boolean addStringValues,
NXObject.AttributeType type)
Deprecated.
Deprecated in NX11.0.0. Use
NXObject.getUserAttribute(java.lang.String, nxopen.NXObject.AttributeType, int) instead.
|
NXObject.AttributeInformation |
NXObject.getUserAttribute(String title,
NXObject.AttributeType type,
int index)
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index.
|
String |
NXObject.getUserAttributeAsString(String title,
NXObject.AttributeType type,
int index)
Gets the first attribute encountered on the object, if any, with a given title, type and array index.
|
int |
NXObject.getUserAttributeCount(NXObject.AttributeType type)
Gets the count of set attributes on the object, if any, of the given type.
|
int |
NXObject.getUserAttributeCount(NXObject.AttributeType type,
boolean includeUnset,
boolean countArrayAsOneAttribute)
Gets the count of attributes on the object, if any, of the given type.
|
boolean |
NXObject.getUserAttributeLock(String title,
NXObject.AttributeType type)
Determine the lock of the given attribute.
|
int |
NXObject.getUserAttributeSize(String title,
NXObject.AttributeType type)
Gets the size of the first attribute encountered on the object, if any, with a given Title and Type.
|
boolean |
NXObject.hasUserAttribute(String title,
NXObject.AttributeType type,
int index)
Determines if an attribute with the given Title, Type and array Index is present on the object
Unset attributes will not be detected by this function, as its purpose is to test for the actual presence of the attribute on the object.
|
void |
ExpressionCollection.replaceAttributeExpression(Expression expression,
NXObject object,
String title,
NXObject.AttributeType type,
int index)
Replace the attribute expression of the specified attribute title/type.
|
void |
AttributeIterator.setIncludeOnlyType(NXObject.AttributeType type)
Restrict searches to attributes with the given type.
|
void |
NXObject.setUserAttributeLock(String title,
NXObject.AttributeType type,
boolean lock)
Lock or unlock the given attribute.
|
Constructor and Description |
---|
AttributeInformation(NXObject.AttributeType typeInitial,
String categoryInitial,
String titleInitial,
String titleAliasInitial,
boolean booleanValueInitial,
int integerValueInitial,
double realValueInitial,
String stringValueInitial,
String timeValueInitial,
NXObject.ComputationalTime compTimeValueInitial,
String referenceValueInitial,
boolean inheritedInitial,
boolean isOverrideInitial,
boolean lockedInitial,
boolean ownedBySystemInitial,
boolean requiredInitial,
boolean unsetInitial,
boolean arrayInitial,
boolean pdmBasedInitial,
boolean notSavedInitial,
int arrayElementIndexInitial,
Unit unitInitial,
Expression expressionInitial)
Constructor for the AttributeInformation object.
|
Modifier and Type | Method and Description |
---|---|
void |
Component.deleteInstanceUserAttribute(NXObject.AttributeType type,
String title,
boolean deleteEntireArray,
Update.Option option)
Deletes the first attribute encountered with the given Type, Title and Index.
|
void |
Component.deleteInstanceUserAttributes(NXObject.AttributeType type,
Update.Option option)
Deletes the attributes encountered with the given Type with option to update or not.
|
NXObject.AttributeInformation |
Component.getInstanceUserAttribute(String title,
NXObject.AttributeType type,
int index)
Gets the first attribute encountered on the object, if any, with a given Title, Type and array Index.
|
String |
Component.getInstanceUserAttributeAsString(String title,
NXObject.AttributeType type,
int index)
Gets the first attribute encountered on the object, if any, with a given title, type and array index.
|
boolean |
Component.getInstanceUserAttributeLock(String title,
NXObject.AttributeType type)
Determine the lock of the given attribute.
|
boolean |
Component.hasInstanceUserAttribute(String title,
NXObject.AttributeType type,
int index)
Determines if and attribute with the given Title, Type and array Index is present on the object
If the attribute is not an array, the Index is ignored (if this is known beforehand, we recommend setting the Index to -1 to save time).
|
void |
Component.setInstanceUserAttributeLock(String title,
NXObject.AttributeType type,
boolean lock)
Lock or unlock the given attribute.
|
Modifier and Type | Field and Description |
---|---|
NXObject.AttributeType |
CharacteristicList.CharacteristicInformation.type
characteristic type
|
Modifier and Type | Method and Description |
---|---|
void |
CharacteristicList.deleteCharacteristic(String name,
NXObject.AttributeType type)
Removes a characteristic from the characteristic list.
|
CharacteristicList.CharacteristicInformation[] |
CharacteristicList.getCharacteristicTitlesByType(NXObject.AttributeType type)
Returns the titles of all characteristics that have the specified type.
|
void |
CharacteristicList.setCharacteristic(String name,
String value,
NXObject.AttributeType type)
Sets the value of a string or reference characteristic.
|
void |
UnifyPathBuilder.setUnifyCharacteristics(NXObject.AttributeType charxType,
String charxName,
String charxValue)
Sets the characteristics to be applied
License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic") . |
Constructor and Description |
---|
CharacteristicInformation(NXObject.AttributeType typeInitial,
String nameInitial)
Constructor for the CharacteristicInformation object.
|
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.