Difference between revisions of "VS:IFC GetIFCScheme"

From Vectorworks Developer
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 26: Line 26:
 
outScheme
 
outScheme
 
INTEGER
 
INTEGER
Possible out values are <b>kIFCSupportScheme_2x2</b> (IFC 2x2); <b>kIFCSupportScheme_2x3</b> (IFC 2x3) and <b>kIFCSupportScheme_2x4</b> (IFC 4)
+
Possible out values are <b>kIFCSupportScheme_2x2 = 2 (IFC 2x2); <b>kIFCSupportScheme_2x3 = 3 (IFC 2x3) and <b>kIFCSupportScheme_2x4 = 4 (IFC 4)
 
</line>
 
</line>
 
</lineList>
 
</lineList>
 
</params>
 
</params>
 +
 +
-----------------------------------------------------------------------------------------------------------
 +
<return>TRUE on success, FALSE on failure.</return>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------

Latest revision as of 09:23, 16 February 2021

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

Description

Gets the active IFC version.
FUNCTION IFC_GetIFCScheme(
VAR outScheme  :INTEGER) : BOOLEAN;
def vs.IFC_GetIFCScheme():
    return (BOOLEAN, outScheme)

Parameters

outScheme INTEGER Possible out values are kIFCSupportScheme_2x2 = 2 (IFC 2x2); <b>kIFCSupportScheme_2x3 = 3 (IFC 2x3) and <b>kIFCSupportScheme_2x4 = 4 (IFC 4)

Return Value

TRUE on success, FALSE on failure.

Example

VectorScript

PROCEDURE Test;
VAR
	scheme	: INTEGER;
	ok 	: BOOLEAN;
BEGIN
	ok := IFC_GetIFCScheme(scheme);
END;

RUN(Test);
scheme	= -1
ok	= vs.IFC_GetIFCScheme(scheme)

Version

Availability: from Vectorworks 2017

See Also

IFC Enumeration Types
[[VCOM:VectorWorks:IFCLib:IFCEnumerations|IFC Enumeration Types]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox