VCOM:VectorWorks:IFCLib:IIFCSupport::IFC EnableEntry

From Vectorworks Developer
Jump to: navigation, search

.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

Sets the IFC Data Mapping export status of an object's Entry. Enables/Disables the Entry so it can be exported. If the user want to Enable/Disable a Property Set, he must provide the IfcEntity name for that Property Set.

VCOMError IFC_EnableEntry(
const TXString& strObjectName,
const TXString& strEntryName,
bool bEnable,
const TXString& strPSetName = "");

Parameters

strObjectName TXString Object name.
strEntryName TXString IfcEntity name.
bEnable bool Include/exclude the Entry from export by the Export IFC Project command.
strPSetName TXString Ifc Property Set name for the indicated IfcEntity.

Return Value

Uses standard VCOM Error Reporting.

Return value meaning:

kVCOMError_NoError The function succeeded. No Error!
kVCOMError_Failed Routine failed.

Remarks

Use this function via global pointer gIFC.

Version

Available from: Vectorworks 2017.
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox