CustomFeatureData Class

class NXOpen.Features.CustomFeatureData

Bases: NXOpen.TransientObject

Represents the collection of attributes for a custom feature.

This class cannot be created

New in version NX11.0.0.

Properties

Property Description
ClassName Returns the custom feature class name

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

ClassName

CustomFeatureData.ClassName

Returns the custom feature class name

-------------------------------------

Getter Method

Signature ClassName

Returns:
Return type:str

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)

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:
Returns:

Return type:

bool

New in version NX11.0.0.

License requirements: solid_modeling (“SOLIDS MODELING”)