VCOM:VectorWorks:IFCLib:IIFCSupport::IFC EnableEntry: Difference between revisions
Jump to navigation
Jump to search
NBeshevliev (talk | contribs) No edit summary |
|||
Line 9: | Line 9: | ||
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]] | Member of [[VCOM:VectorWorks:IFCLib: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. | ||
</desc> | </desc> | ||
Line 15: | Line 15: | ||
<def> | <def> | ||
<funcDef lang="cpp"> | <funcDef lang="cpp"> | ||
VCOMError IFC_EnableEntry(const TXString& strObjectName, const TXString& strEntryName, bool bEnable); | VCOMError IFC_EnableEntry(const TXString& strObjectName, const TXString& strEntryName, bool bEnable, const TXString& strPSetName = ""); | ||
</funcDef> | </funcDef> | ||
</def> | </def> | ||
Line 25: | Line 25: | ||
strObjectName | strObjectName | ||
TXString | TXString | ||
Object name. | |||
</line> | </line> | ||
<line> | <line> | ||
strEntryName | strEntryName | ||
TXString | TXString | ||
IfcEntity name. | |||
</line> | </line> | ||
<line> | <line> | ||
bEnable | bEnable | ||
bool | bool | ||
Include/exclude the Entry from export by the Export IFC Project command. | |||
</line> | |||
<line> | |||
strPSetName | |||
TXString | |||
Ifc Property Set name for the indicated IfcEntity. | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 76: | Line 81: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Available from: Vectorworks 2017. | |||
</version> | </version> | ||
Revision as of 13:31, 27 April 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
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_NotInitialized Bad VCOM instance used to call the function. kVCOMError_Failed Routine failed.
Remarks
Use this function via global pointer gIFC.
Version
Available from: Vectorworks 2017.