API Reference > Classes > PRC Graphical Classes > OdPrcCategory1LineStyle Class > OdPrcCategory1LineStyle Methods > OdPrcCategory1LineStyle::setMaterialID Method
OdPrcCategory1LineStyle::setMaterialID Method
Syntax
C++
void setMaterialID(const OdPrcObjectId & materialID);
Parameters 
Description 
const OdPrcObjectId & materialID 
[in] A new material identifier to be set. 

Sets a new material identifier of the line style. This method sets the color index to zero. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.