CodeSetStyleItemRenderMaterialStyleId Property |
Gets or Sets the object id of render material style .
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntaxpublic ObjectId RenderMaterialStyleId { get; set; }Public Property RenderMaterialStyleId As ObjectId
Get
Set
public:
property ObjectId RenderMaterialStyleId {
ObjectId get ();
void set (ObjectId value);
}Property Value
ObjectId
Exceptions| Exception | Condition |
|---|
| 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