Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
OdIfc::ModelOps::ifcClone Function
Syntax
C++
OdDAIObjectId IFCCORE_EXPORT ifcClone(const OdDAIObjectId& sourceProduct, const OdDAI::ModelPtr targetModel = OdDAI::ModelPtr());

Clones IFC entity of IfcProduct subtype and its nested content to the model.

Parameters
Description
sourceProduct
[in] An object identifier of the entity (the STEP ID is stored in the OdDbHandle).
targetModel
[in] A smart pointer to the model that is the target for processed entities.

The object identifier of the cloned entity or the kNullHandle value otherwise.

File: IfcModelOps.h 

Namespace: OdIfc::ModelOps 

Copyright © 2002-2022. Open Design Alliance All rights reserved.