CustomFeatureData Class¶
-
class
NXOpen.Features.
CustomFeatureData
¶ Bases:
NXOpen.TransientObject
JA interface for CustomFeatureData oject
This cannot be created
New in version NX11.0.0.
Methods¶
Method | Description |
---|---|
AddCustomAttributes | Set the custom feature attributes |
CustomDoubleArrayAttributeByName | Get the custom feature double array attribute of given name @return |
CustomDoubleAttributeByName | Get the custom feature double attribute of given name @return |
CustomExpressionArrayAttributeByName | Get the custom feature expression array attribute of given name @return |
CustomExpressionAttributeByName | Get the custom feature expression attribute of given name @return |
CustomIntegerArrayAttributeByName | Get the custom feature integer array attribute of given name @return |
CustomIntegerAttributeByName | Get the custom feature integer attribute of given name @return |
CustomLogicalArrayAttributeByName | Get the custom feature logical array attribute of given name @return |
CustomLogicalAttributeByName | Get the custom feature logical attribute of given name @return |
CustomStringArrayAttributeByName | Get the custom feature string array attribute of given name @return |
CustomStringAttributeByName | Get the custom feature string attribute of given name @return |
CustomTagArrayAttributeByName | Get the custom feature tag array attribute of given name @return |
CustomTagAttributeByName | Get the custom feature tag attribute of given name @return |
Dispose | Frees the memory associated with this object. |
GetAllCustomAttributeNameAndTypes | Get the custom feature attribute name and types |
HasCustomAttribute | Checks if the custom feature attribute of given name and type exists @return |
Property Detail¶
Method Detail¶
AddCustomAttributes¶
-
CustomFeatureData.
AddCustomAttributes
¶ Set the custom feature attributes
Signature
AddCustomAttributes(attributes)
Parameters: attributes (list of NXOpen.Features.CustomAttribute
) –New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomDoubleArrayAttributeByName¶
-
CustomFeatureData.
CustomDoubleArrayAttributeByName
¶ Get the custom feature double array attribute of given name
Signature
CustomDoubleArrayAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomDoubleArrayAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomDoubleAttributeByName¶
-
CustomFeatureData.
CustomDoubleAttributeByName
¶ Get the custom feature double attribute of given name
Signature
CustomDoubleAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomDoubleAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomExpressionArrayAttributeByName¶
-
CustomFeatureData.
CustomExpressionArrayAttributeByName
¶ Get the custom feature expression array attribute of given name
Signature
CustomExpressionArrayAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomExpressionArrayAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomExpressionAttributeByName¶
-
CustomFeatureData.
CustomExpressionAttributeByName
¶ Get the custom feature expression attribute of given name
Signature
CustomExpressionAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomExpressionAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomIntegerArrayAttributeByName¶
-
CustomFeatureData.
CustomIntegerArrayAttributeByName
¶ Get the custom feature integer array attribute of given name
Signature
CustomIntegerArrayAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomIntegerArrayAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomIntegerAttributeByName¶
-
CustomFeatureData.
CustomIntegerAttributeByName
¶ Get the custom feature integer attribute of given name
Signature
CustomIntegerAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomIntegerAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomLogicalArrayAttributeByName¶
-
CustomFeatureData.
CustomLogicalArrayAttributeByName
¶ Get the custom feature logical array attribute of given name
Signature
CustomLogicalArrayAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomLogicalArrayAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomLogicalAttributeByName¶
-
CustomFeatureData.
CustomLogicalAttributeByName
¶ Get the custom feature logical attribute of given name
Signature
CustomLogicalAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomLogicalAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomStringArrayAttributeByName¶
-
CustomFeatureData.
CustomStringArrayAttributeByName
¶ Get the custom feature string array attribute of given name
Signature
CustomStringArrayAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomStringArrayAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomStringAttributeByName¶
-
CustomFeatureData.
CustomStringAttributeByName
¶ Get the custom feature string attribute of given name
Signature
CustomStringAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomStringAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomTagArrayAttributeByName¶
-
CustomFeatureData.
CustomTagArrayAttributeByName
¶ Get the custom feature tag array attribute of given name
Signature
CustomTagArrayAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomTagArrayAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CustomTagAttributeByName¶
-
CustomFeatureData.
CustomTagAttributeByName
¶ Get the custom feature tag attribute of given name
Signature
CustomTagAttributeByName(attributeName)
Parameters: attributeName (str) – Returns: Return type: NXOpen.Features.CustomTagAttribute
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Dispose¶
-
CustomFeatureData.
Dispose
¶ Frees the memory associated with this object.
After invocation of this method, the object is no longer valid.
Signature
Dispose()
New in version NX11.0.0.
License requirements: None.
GetAllCustomAttributeNameAndTypes¶
-
CustomFeatureData.
GetAllCustomAttributeNameAndTypes
¶ Get the custom feature attribute name and types
Signature
GetAllCustomAttributeNameAndTypes()
Returns: a tuple Return type: A tuple consisting of (attributeNames, attributeType). attributeNames is a list of str. attributeType is a list of NXOpen.Features.CustomAttributeType
.New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
HasCustomAttribute¶
-
CustomFeatureData.
HasCustomAttribute
¶ Checks if the custom feature attribute of given name and type exists
Signature
HasCustomAttribute(attributeName, type)
Parameters: - attributeName (str) –
- type (
NXOpen.Features.CustomAttributeType
) –
Returns: Return type: bool
New in version NX11.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)