Difference between revisions of "VS:IFC DMGetEntriesCnt"

From Vectorworks Developer
Jump to: navigation, search
 
Line 35: Line 35:
 
</lineList>
 
</lineList>
 
</params>
 
</params>
 +
 +
-----------------------------------------------------------------------------------------------------------
 +
<return></return>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------

Latest revision as of 04:51, 17 December 2018

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Gets the count of entries for indicated object from current IFC Data Mapping.
FUNCTION IFC_DMGetEntriesCnt(
inStrObjName  :STRING;
VAR outCount  :INTEGER) : BOOLEAN;
def vs.IFC_DMGetEntriesCnt(inStrObjName):
    return (BOOLEAN, outCount)

Parameters

inStrObjName STRING Object name.
outCount INTEGER Returns IfcEntity groups count from IFC Data Mapping.

Example

VectorScript

PROCEDURE GetEntriesCnt;
VAR
	count 	: INTEGER;
BEGIN
	IFC_DMGetEntriesCnt('Space', count);
END;

RUN(GetEntriesCnt);

Python

count = 0;
vs.IFC_DMGetEntriesCnt('Space', count);

Version

Available from: Vectorworks 2017
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox