Share

CodeSetStyleItem.RenderMaterialStyleId Property

Gets or Sets the object id of render material style .



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

Syntax

C#

public ObjectId RenderMaterialStyleId { get; set; }

VB

Public Property RenderMaterialStyleId As ObjectId
	Get
	Set

C++

public:
property ObjectId RenderMaterialStyleId {
	ObjectId get ();
	void set (ObjectId value);
}

Property Value

ObjectId

Exceptions

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

Remarks

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

See Also

Reference

Was this information helpful?