VCOM:VectorWorks:IFCLib:IIFCSupport::IFC CopyIFCData: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
NBeshevliev (talk | contribs) No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{LocationMain|category=LocationVCOM|specific=}} | {{LocationMain|category=LocationVCOM|specific=}} | ||
__TOC__ | __TOC__ | ||
<vwDoc> | <vwDoc> | ||
Line 8: | Line 7: | ||
namespace <code>VectorWorks::IFCLib</code> | namespace <code>VectorWorks::IFCLib</code> | ||
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]] | Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport|IIFCSupport]] | ||
Copy IFC data from one object to another. | |||
</desc> | </desc> | ||
Line 16: | Line 15: | ||
<def> | <def> | ||
<funcDef lang="cpp"> | <funcDef lang="cpp"> | ||
VCOMError IFC_CopyIFCData(MCObjectHandle hSource, MCObjectHandle hDestination, short inMode); | |||
</funcDef> | </funcDef> | ||
</def> | </def> | ||
Line 26: | 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 48: | Line 47: | ||
<lineList ident=1> | <lineList ident=1> | ||
<line> | <line> | ||
kVCOMError_NoError | |||
Routine succeeded. | |||
</line> | </line> | ||
<line> | <line> | ||
Line 60: | Line 59: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
Use this function via global pointer gIFC. | |||
</remark> | </remark> | ||
Line 72: | Line 72: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Available from: Vectorworks 2011. | |||
</version> | </version> | ||
</vwDoc> | </vwDoc> | ||
[[Category:VCOM:VectorWorks: | [[Category:VCOM:VectorWorks:IFCLib:IIFCSupport|IFC_CopyIFCData]] |
Latest revision as of 15:28, 19 June 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 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_NoError Routine succeeded. kVCOMError_Failed Routine failed.
Remarks
Use this function via global pointer gIFC.
Version
Available from: Vectorworks 2011.