IrayPlusMaterialAttributeEnum Class

class NXOpen.Display.IrayPlusMaterialAttributeEnum

Bases: NXOpen.Display.IrayPlusMaterialAttribute

Represents a IrayPlus Enum Attribute

This class is restricted to being called from a program running during an Interactive NX session. If run from a non-interactive session it will return None.

IrayPlusMaterialAttributeEnum is not supported in KF.

New in version NX12.0.0.

Properties

Property Description
EnumValue Returns or sets the enum value
ParameterName Returns or sets the parameter name of specific material object.
Tag Returns the Tag for this object.

Methods

Method Description
GetValueAsString Gets an attribute’s value as string for specific attribute object The attribute object can be queried from function: NXOpen.Display.IrayPlusMaterialEditorBuilder.GetComponentParameter().
SetValueFromString Sets attribute’s value for specific attribute object.

Property Detail

EnumValue

IrayPlusMaterialAttributeEnum.EnumValue

Returns or sets the enum value

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

Getter Method

Signature EnumValue

Returns:
Return type:int

New in version NX12.0.0.

License requirements: None.

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

Setter Method

Signature EnumValue

Parameters:enumValue (int) –

New in version NX12.0.0.

License requirements: None.