API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::getDimstyleParentId Method
OdDbDatabase::getDimstyleParentId Method
Syntax
C++
OdDbObjectId getDimstyleParentId(const OdDbObjectId & childStyle) const;
Parameters 
Description 
const OdDbObjectId & childStyle 
[in] A child dimension style object identifier. 

Returns the identifier of the parent dimension style. 

 

The method returns the child dimension identifier if the parent style can not be retrieved.

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