VCOM:VectorWorks:IFCLib:IIFCSupport::IFC GetFieldsCount: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{LocationMain|category=LocationVCOM|specific=}} __TOC__ <vwDoc> ----------------------------------------------------------------------------------------------------------- <...") |
No edit summary |
||
Line 9: | Line 9: | ||
Member of [[VCOM:VectorWorks:IFCLib:IIFCSupport]] | 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. | ||
</desc> | </desc> | ||
Line 25: | Line 25: | ||
strObjectName | strObjectName | ||
TXString | TXString | ||
The name of the object. | |||
</line> | </line> | ||
<line> | <line> | ||
strEntryName | strEntryName | ||
TXString | TXString | ||
The name of the entity/pset. | |||
</line> | </line> | ||
<line> | <line> | ||
outCount | outCount | ||
short | short | ||
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> | ||
<line> | <line> | ||
Line 76: | Line 72: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Available from: Vectorworks 2017. | |||
</version> | </version> | ||
Revision as of 07: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.