Difference between revisions of "VS:IFC GetIFCScheme"

From Vectorworks Developer
Jump to: navigation, search
 
Line 30: Line 30:
 
</lineList>
 
</lineList>
 
</params>
 
</params>
 +
 +
-----------------------------------------------------------------------------------------------------------
 +
<return>TRUE on success, FALSE on failure.</return>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------

Latest revision as of 04:58, 17 December 2018

.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 (IFC 2x2); kIFCSupportScheme_2x3 (IFC 2x3) and kIFCSupportScheme_2x4 (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