AttributePropertiesBaseBuilderDataTypeOptions Enumeration

NXOpen.AttributePropertiesBaseBuilder.DataTypeOptions is an alias for NXOpen.AttributePropertiesBaseBuilderDataTypeOptions

class NXOpen.AttributePropertiesBaseBuilderDataTypeOptions

Bases: object

Specifies the data type of the attribute, this cannot be changed once the attribute has been created

Enum Members

Enum Member Enum Member Description
Null Null, the attribute will have no value
Boolean Boolean, the value will be true or false
Integer Integer, the value is a whole number
Number Number, the value is a floating point number and may contain units
String String, the value will be a textual string
Date Date, the value will be date and time
ValueOf()

Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

Signature ValueOf(value)

Parameters:value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
Return type:Enum Member type.

New in version NX9.0.1.

License requirements: None.