API Reference > OdDb Classes > OdDbSubentRef Class > OdDbSubentRef Methods > createObject Method > OdDbSubentRef::createObject Method (OdDbCompoundObjectId&, OdDbSubentId&)
OdDbSubentRef::createObject Method (OdDbCompoundObjectId&, OdDbSubentId&)
Syntax
C++
static OdSmartPtr<OdDbSubentRef> createObject(const OdDbCompoundObjectId& compId, const OdDbSubentId& subent = OdDbSubentId());
Parameters 
Description 
const OdDbCompoundObjectId& compId 
[in] input component id  
const OdDbSubentId& subent = OdDbSubentId() 
[in] input subentity id 

Creates an instance of this class. 

 

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