API Reference > OdDb Classes > OdDbEntity Class > OdDbEntity Methods > OdDbEntity::setLineWeight Method
OdDbEntity::setLineWeight Method
Syntax
C++
virtual OdResult setLineWeight(OdDb::LineWeight lineWeight, bool doSubents = true);
Parameters 
Description 
OdDb::LineWeight lineWeight 
[in] Lineweight.  
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 lineweight property of this entity (DXF 370). 

 

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