VCOM:VectorWorks:IFCLib:IIFCSupport::ImportFile: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
NBeshevliev (talk | contribs) No edit summary |
||
(8 intermediate revisions by 3 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]] | ||
Imports an IFC file. | |||
</desc> | </desc> | ||
Line 16: | Line 15: | ||
<def> | <def> | ||
<funcDef lang="cpp"> | <funcDef lang="cpp"> | ||
VCOMError ImportFile(IFileIdentifier* pFileID, bool bShowUI); | |||
</funcDef> | </funcDef> | ||
</def> | </def> | ||
Line 26: | Line 25: | ||
pFileID | pFileID | ||
IFileIdentifier* | IFileIdentifier* | ||
File identifier where the IFC model is located. | |||
</line> | </line> | ||
<line> | <line> | ||
bShowUI | bShowUI | ||
bool | bool | ||
If set to true, a dialog will appear where you can select which stories and objects to import. | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 45: | Line 44: | ||
kVCOMError_NotInitialized | kVCOMError_NotInitialized | ||
Bad VCOM instance used to call the fuction. | Bad VCOM instance used to call the fuction. | ||
</line> | |||
<line> | |||
kVCOMError_InvalidArg | |||
Wrong file identifier. | |||
</line> | </line> | ||
<line> | <line> | ||
kVCOMError_Failed | kVCOMError_Failed | ||
Routine failed. | Routine failed. | ||
</line> | |||
<line> | |||
kVCOMError_NoError | |||
Routine succeeded. | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 55: | Line 62: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark> | ||
Use this function via global pointer gIFC. | |||
</remark> | </remark> | ||
Line 67: | Line 75: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Available from: Vectorworks 12. | |||
</version> | </version> | ||
Latest revision as of 14:58, 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
Imports an IFC file.
VCOMError ImportFile(
IFileIdentifier* pFileID,
bool bShowUI);
Parameters
pFileID IFileIdentifier* File identifier where the IFC model is located. bShowUI bool If set to true, a dialog will appear where you can select which stories and objects to import.
Return Value
Uses standard VCOM Error Reporting.
Return value meaning:
kVCOMError_NotInitialized Bad VCOM instance used to call the fuction. kVCOMError_InvalidArg Wrong file identifier. kVCOMError_Failed Routine failed. kVCOMError_NoError Routine succeeded.
Remarks
Use this function via global pointer gIFC.
Version
Available from: Vectorworks 12.