VCOM:VectorWorks:IFCLib:IIFCSupport::IFC CopyIFCData: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]] | Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]] | ||
Copy IFC data from one object to another. | |||
</desc> | </desc> | ||
Line 25: | Line 25: | ||
hSource | hSource | ||
MCObjectHandle | MCObjectHandle | ||
Handle to object. | |||
</line> | </line> | ||
<line> | <line> | ||
hDestination | hDestination | ||
MCObjectHandle | MCObjectHandle | ||
Handle to object. | |||
</line> | </line> | ||
<line> | <line> | ||
inMode | inMode | ||
short | short | ||
Options for copying. Possible values are 0 (copy always, new UUID); 1 (copy always, keep the old UUID); 2(copy, if same type, new UUID) and 3(copy, if same type, keep the old UUID). | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 59: | Line 59: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
Use this function via global pointer gIFC. | |||
</remark> | </remark> | ||
Line 71: | Line 72: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Available from: Vectorworks 2011. | |||
</version> | </version> | ||
Revision as of 09:16, 8 May 2018
.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference
Description
namespace VectorWorks::IFCLib
Member of VCOM:VectorWorks:IFCLib:IIFCSupport
Copy IFC data from one object to another.
VCOMError IFC_CopyIFCData(
MCObjectHandle hSource,
MCObjectHandle hDestination,
short inMode);
Parameters
hSource MCObjectHandle Handle to object. hDestination MCObjectHandle Handle to object. inMode short Options for copying. Possible values are 0 (copy always, new UUID); 1 (copy always, keep the old UUID); 2(copy, if same type, new UUID) and 3(copy, if same type, keep the old UUID).
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_Failed Routine failed.
Remarks
Use this function via global pointer gIFC.
Version
Available from: Vectorworks 2011.