Difference between revisions of "VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetFieldsCount"

From Vectorworks Developer
Jump to: navigation, search
(Created page with "{{LocationMain|category=LocationVCOM|specific=}} __TOC__ <vwDoc> ----------------------------------------------------------------------------------------------------------- <...")
 
Line 9: Line 9:
 
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]]
 
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]]
  
...put some description here...
+
If the object do not uses Data Mapping, the function returns kVCOMError_Failed. Otherwise the function returns the number of fields which are mapped.
 
</desc>
 
</desc>
  
Line 25: Line 25:
 
strObjectName
 
strObjectName
 
TXString
 
TXString
no info.
+
The name of the object.
 
</line>
 
</line>
 
<line>
 
<line>
 
strEntryName
 
strEntryName
 
TXString
 
TXString
no info.
+
The name of the entity/pset.
 
</line>
 
</line>
 
<line>
 
<line>
 
outCount
 
outCount
 
short
 
short
no info.
+
The result - count of mapped fields.
 
</line>
 
</line>
 
</lineList>
 
</lineList>
Line 49: Line 49:
 
kVCOMError_NoError
 
kVCOMError_NoError
 
The function succeeded. No Error!
 
The function succeeded. No Error!
</line>
 
<line>
 
kVCOMError_NotInitialized
 
Bad VCOM instance used to call the function.
 
 
</line>
 
</line>
 
<line>
 
<line>
Line 76: Line 72:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<version>
 
<version>
 +
Available from: Vectorworks 2017.
 
</version>
 
</version>
  

Revision as of 03:13, 2 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

If the object do not uses Data Mapping, the function returns kVCOMError_Failed. Otherwise the function returns the number of fields which are mapped.

VCOMError IFC_GetFieldsCount(
const TXString& strObjectName,
const TXString& strEntryName,
short& outCount);

Parameters

strObjectName TXString The name of the object.
strEntryName TXString The name of the entity/pset.
outCount short The result - count of mapped fields.

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