NXOpen .NET Reference
12.0.0
|
Represents an IrayPlus Attribute More...
Public Member Functions | |
unsafe void | SetValueFromString (string attribueValue) |
Sets attribute's value for specific attribute object. More... | |
unsafe string | GetValueAsString () |
Gets an attribute's value as string for specific attribute object The attribute object can be queried from function: NXOpen.Display.IrayPlusMaterialEditorBuilder.GetComponentParameter . More... | |
Properties | |
unsafe string | ParameterName [get, set] |
Returns or sets the parameter name of specific material object. More... | |
Represents an IrayPlus 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 a null reference (Nothing in Visual Basic).
IrayPlusMaterialAttribute is not supported in KF.
Created in NX12.0.0
unsafe string NXOpen.Display.IrayPlusMaterialAttribute.GetValueAsString | ( | ) |
Gets an attribute's value as string for specific attribute object The attribute object can be queried from function: NXOpen.Display.IrayPlusMaterialEditorBuilder.GetComponentParameter .
NOTE: The returned attribueValue TEXT should be freed (TEXT_free) by the caller.
Created in NX12.0.0
License requirements: None.
unsafe void NXOpen.Display.IrayPlusMaterialAttribute.SetValueFromString | ( | string | attribueValue | ) |
Sets attribute's value for specific attribute object.
Users can follow the steps: (1) Use NXOpen.Display.IrayPlusMaterialEditorBuilder.GetComponentParameter to get all the attribute objects of specific material component. (2)Iterate all these attribute objects. Find the specific attribute you want to modify. For example user want to ReflectionColour-ColourOffset in ClearCoat layer. (3)Pass the attribute object and the new attribute value "1.000000000000000, 0.000000000000000,0.000000000000000" as parameter to call this function.
Created in NX12.0.0
License requirements: None.
attribueValue |
|
getset |
Returns or sets the parameter name of specific material object.
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: None.