NXOpen .NET Reference  12.0.0
Public Member Functions | Properties | List of all members
NXOpen.Display.IrayPlusMaterialAttribute Class Reference

Represents an IrayPlus Attribute More...

Inheritance diagram for NXOpen.Display.IrayPlusMaterialAttribute:
NXOpen.Display.IrayPlusMaterialAttributeEnum

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...
 

Detailed Description

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

Member Function Documentation

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.

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

Parameters
attribueValue

Property Documentation

unsafe string NXOpen.Display.IrayPlusMaterialAttribute.ParameterName
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.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.