NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
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.TaggedObject NXOpen.Utilities.NXRemotableObject IMessageSink NXOpen.Display.IrayPlusMaterialAttributeEnum

Public Member Functions

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...
 
unsafe void SetValueFromString (string attribueValue)
 Sets attribute's value for specific attribute object. More...
 
- Public Member Functions inherited from NXOpen.TaggedObject
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
override string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Properties

unsafe string ParameterName [get, set]
 Returns or sets the parameter name of specific material object. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> 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 ( )
inline

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)
inline

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 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.