A3DRiRepresentationItemDeepCopy
-
A3DStatus
A3DRiRepresentationItemDeepCopy(const A3DRiRepresentationItem *pRi, A3DRiRepresentationItem **ppNewRi) A3DStatusA3DRiRepresentationItemDeepCopy(constA3DRiRepresentationItem* pRi,A3DRiRepresentationItem** ppNewRi)Create a new representation item by making a deep copy.
- ID is reset to 0, but topological item ids are kept.
- Stored links are lost when a representation item is copied independently of the rest of the model. It’s up to the user to create new ones. An entity reference sets to describe the link between a datum plane and a body plane face will be removed.
- Drawing block is not implemented.
- Feature data on TfSet are not copied.
Representation item data are copied, except coordinate system and surface are shared for optimization as for the rest of the model. There are some limitations:
Returns
A3D_SUCCESSon success, or an error code on failure