API Reference > OdDb Classes > OdDbShape Class > OdDbShape Methods > OdDbShape::setName Method
OdDbShape::setName Method
Syntax
C++
OdResult setName(const OdString& name);

Sets the name of this Shape entity (DXF 2).

The name is not part of a Shape entity, but is derived from shapeNumber() and shapeIndex(). It is more efficient to use setShapeNumber() and setStyleId() directly.

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