Description:
Modifies an object's render material assignment, this will set the objects material source to ObjectMaterialSource.MaterialFromObject.
Syntax:
Parameters:
- objRef
- Type: ObjRef
- Object to modify.
- material
- Type: RenderMaterial
- Material to assign to this object.
Returns:
Type: bool
Returns True on success otherwise returns false.
Available since:
5.7
Description:
Modifies an object's render material assignment, this will set the objects material source to ObjectMaterialSource.MaterialFromObject.
Syntax:
Parameters:
- obj
- Type: RhinoObject
- Object to modify.
- material
- Type: RenderMaterial
- Material to assign to this object.
Returns:
Type: bool
Returns True on success otherwise returns false.
Available since:
5.7
Description:
Modifies an object's render material assignment, this will set the objects material source to ObjectMaterialSource.MaterialFromObject.
Syntax:
Parameters:
- objectId
- Type: System.Guid
- Id of object to modify.
- material
- Type: RenderMaterial
- Material to assign to this object.
Returns:
Type: bool
Returns True on success otherwise returns false.
Available since:
5.7