API Reference > OdDb Classes > OdDbEntity Class > OdDbEntity Methods > setPlotStyleName Method > OdDbEntity::setPlotStyleName Method (OdString&, bool)
OdDbEntity::setPlotStyleName Method (OdString&, bool)
Syntax
C++
virtual OdResult setPlotStyleName(const OdString& plotStyleName, bool doSubents = true);
Parameters 
Description 
const OdString& plotStyleName 
[in] Name of the plot style.  
bool doSubents = true 
[in] If and only if true, applies the change to all sub-entities owned by this entity. 

Returns eOk if successful, or an appropriate error code if not.

Sets the plot style of this entity. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.