Gets or Sets the object id of render material style .

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId RenderMaterialStyleId { get; set; }
Visual Basic
Public Property RenderMaterialStyleId As ObjectId
	Get
	Set
Visual C++
public:
property ObjectId RenderMaterialStyleId {
	ObjectId get ();
	void set (ObjectId value);
}

Remarks

We can set the render material to "none" as UI did with the value: ObjectId.Null.

Remarks

OBJECTID TYPE: Autodesk.Civil.DatabaseServices.Styles.XXX.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the input style type is not Autodesk.Civil.DatabaseServices.Styles.XXX.
System..::..InvalidOperationException Thrown when the property StyleType is SubassemblySubentityStyleType::MarkerType or ShapeType.

See Also