API Reference > Auxiliary Classes > AECSmartReference Structure > AECSmartReference Methods > AECSmartReference::createWithPath Method
AECSmartReference::createWithPath Method
Syntax
C++
static const AECSmartReference createWithPath(const OdDbObjectId& idObj, const OdDbObjectId& idPath);

Creates an eBlockReference or eXRef reference with a path (idPath should be from the database where the reference will be used (not an XREF one!), idObj can be in the same database (eBlockReference) or in XREF ) Returns null reference, if the the path and the object do not match

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