API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::getDimstyleChildId Method
OdDbDatabase::getDimstyleChildId Method
Syntax
C++
OdDbObjectId getDimstyleChildId(const OdRxClass * pDimClass, const OdDbObjectId & parentStyle) const;
Parameters 
Description 
const OdRxClass * pDimClass 
[in] A pointer to a dimension class instance.  
const OdDbObjectId & parentStyle 
[in] A parent dimension style object identifier. 

Returns the identifier of the child dimension style. 

 

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

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