public interface IrayPlusMaterialAttribute extends TaggedObject
Modifier and Type | Method and Description |
---|---|
String |
getValueAsString()
Gets an attribute's value as string for specific attribute object
The attribute object can be queried from function:
IrayPlusMaterialEditorBuilder.getComponentParameter(java.lang.String) . |
String |
parameterName()
Returns the parameter name of specific material object.
|
void |
setParameterName(String parameterName)
License requirements: None. |
void |
setValueFromString(String attribueValue)
Sets attribute's value for specific attribute object.
|
printTestData, printTestData, tag, tagValue
void setValueFromString(String attribueValue) throws NXException, RemoteException
IrayPlusMaterialEditorBuilder.getComponentParameter(java.lang.String)
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.
attribueValue
- NXException
RemoteException
String getValueAsString() throws NXException, RemoteException
IrayPlusMaterialEditorBuilder.getComponentParameter(java.lang.String)
.
NOTE: The returned attribueValue TEXT should be freed (TEXT_free) by the caller.
NXException
RemoteException
String parameterName() throws NXException, RemoteException
NXException
RemoteException
void setParameterName(String parameterName) throws NXException, RemoteException
parameterName
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.