CodeSetStyleItemRenderMaterialStyleId 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.292
Syntax
public ObjectId RenderMaterialStyleId { get; set; }

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