CustomFeatureData Class¶
-
class
NXOpen.Features.CustomFeatureData¶ Bases:
NXOpen.TransientObjectRepresents the collection of attributes for a custom feature.
This class 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 |
| CustomDoubleAttributeByName | Get the custom feature double attribute of given name |
| CustomExpressionArrayAttributeByName | Get the custom feature expression array attribute of given name |
| CustomExpressionAttributeByName | Get the custom feature expression attribute of given name |
| CustomIntegerArrayAttributeByName | Get the custom feature integer array attribute of given name |
| CustomIntegerAttributeByName | Get the custom feature integer attribute of given name |
| CustomLogicalArrayAttributeByName | Get the custom feature logical array attribute of given name |
| CustomLogicalAttributeByName | Get the custom feature logical attribute of given name |
| CustomStringArrayAttributeByName | Get the custom feature string array attribute of given name |
| CustomStringAttributeByName | Get the custom feature string attribute of given name |
| CustomTagArrayAttributeByName | Get the custom feature tag array attribute of given name |
| CustomTagAttributeByName | Get the custom feature tag attribute of given name |
| 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 |
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.CustomDoubleArrayAttributeNew 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.CustomDoubleAttributeNew 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.CustomExpressionArrayAttributeNew 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.CustomExpressionAttributeNew 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.CustomIntegerArrayAttributeNew 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.CustomIntegerAttributeNew 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.CustomLogicalArrayAttributeNew 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.CustomLogicalAttributeNew 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.CustomStringArrayAttributeNew 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.CustomStringAttributeNew 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.CustomTagArrayAttributeNew 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.CustomTagAttributeNew 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”)