IFC_AttachPset IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_AttachPset
(   hObject :HANDLE;
    inStrPsetName :STRING
) :BOOLEAN ;

Python:

def  vs.IFC_AttachPset(hObject, inStrPsetName):
   return BOOLEAN

Description:

Attaches a property set to the object



  IFC_ClearIFCInfo IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_ClearIFCInfo
( hObject:HANDLE ) :BOOLEAN ;

Python:

def  vs.IFC_ClearIFCInfo(hObject):
   return BOOLEAN

Description:

Removes all IFC data



  IFC_CopyIFCData IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_CopyIFCData
(   hSource :HANDLE;
    hDestination :HANDLE;
    inMode :INTEGER
) :BOOLEAN ;

Python:

def  vs.IFC_CopyIFCData(hSource, hDestination, inMode):
   return BOOLEAN

Description:

Copies IFC data from one object to another



  IFC_ExportWithUI IFC 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   IFC_ExportWithUI
( bExpSingleObj:BOOLEAN ) ;

Python:

def  vs.IFC_ExportWithUI(bExpSingleObj):
   return None

Description:

Exports IFC file, showing Export IFC Project dialog



  IFC_GetEntityColor IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_GetEntityColor
(   inStrIfcType :STRING;
  VAR  outRed :INTEGER;
  VAR  outGreen :INTEGER;
  VAR  outBlue :INTEGER;
  VAR  outTransp :INTEGER
) :BOOLEAN ;

Python:

def  vs.IFC_GetEntityColor(inStrIfcType):
   return (BOOLEAN, outRed, outGreen, outBlue, outTransp)

Description:

Gets the default color for an IFC entity type



  IFC_GetEntityProp IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_GetEntityProp
(   hObject :HANDLE;
    inStrPropName :STRING;
  VAR  outStrPropValue :STRING;
  VAR  outTypeSelect :INTEGER
) :BOOLEAN ;

Python:

def  vs.IFC_GetEntityProp(hObject, inStrPropName):
   return (BOOLEAN, outStrPropValue, outTypeSelect)

Description:

Gets the value and type of a selected property from the IFC entity



  IFC_GetIFCEntity IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_GetIFCEntity
(   hObject :HANDLE;
  VAR  outStrName :STRING
) :BOOLEAN ;

Python:

def  vs.IFC_GetIFCEntity(hObject):
   return (BOOLEAN, outStrName)

Description:

Gets IFC entity type



  IFC_GetNumPsets IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_GetNumPsets
(   hObject :HANDLE;
  VAR  outNumPsets :INTEGER
) :BOOLEAN ;

Python:

def  vs.IFC_GetNumPsets(hObject):
   return (BOOLEAN, outNumPsets)

Description:

Gets the number of property sets, attached to the object



  IFC_GetPsetName IFC 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   IFC_GetPsetName
(   hObject :HANDLE;
    inPsetIndex :INTEGER;
  VAR  outStrPsetName :STRING;
    RETURN :BOOLEAN
) ;

Python:

def  vs.IFC_GetPsetName(hObject, inPsetIndex, RETURN):
   return outStrPsetName

Description:

Gets the name of the property set at that index



  IFC_GetPsetProp IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_GetPsetProp
(   hObject :HANDLE;
    inStrPsetName :STRING;
    inStrPropName :STRING;
  VAR  outStrPropValue :STRING;
  VAR  outTypeSelect :INTEGER
) :BOOLEAN ;

Python:

def  vs.IFC_GetPsetProp(hObject, inStrPsetName, inStrPropName):
   return (BOOLEAN, outStrPropValue, outTypeSelect)

Description:

Gets the value and type of a selected property from a property set



  IFC_ImportLibrary IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_ImportLibrary
(   strFilePath :STRING;
    bKeepHierarchy :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.IFC_ImportLibrary(strFilePath, bKeepHierarchy):
   return BOOLEAN

Description:

Imports IFC Library of objects



  IFC_ImportNoUI IFC 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   IFC_ImportNoUI
( strFilePath:STRING ) ;

Python:

def  vs.IFC_ImportNoUI(strFilePath):
   return None

Description:

Imports IFC file, silent mode



  IFC_ImportWithUI IFC 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   IFC_ImportWithUI
;

Python:

def  vs.IFC_ImportWithUI():
   return None

Description:

Imports IFC file with user interface



  IFC_SetEntityColor IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_SetEntityColor
(   inStrIfcType :STRING;
    inRed :INTEGER;
    inGreen :INTEGER;
    inBlue :INTEGER;
    inTransp :INTEGER
) :BOOLEAN ;

Python:

def  vs.IFC_SetEntityColor(inStrIfcType, inRed, inGreen, inBlue, inTransp):
   return BOOLEAN

Description:

Sets the default color for an IFC entity type



  IFC_SetEntityProp IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_SetEntityProp
(   hObject :HANDLE;
    inStrPropName :STRING;
    inStrPropValue :STRING
) :BOOLEAN ;

Python:

def  vs.IFC_SetEntityProp(hObject, inStrPropName, inStrPropValue):
   return BOOLEAN

Description:

Sets the value of a selected property from the IFC entity



  IFC_SetIFCEntity IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_SetIFCEntity
(   hObject :HANDLE;
    inStrIfcName :STRING
) :BOOLEAN ;

Python:

def  vs.IFC_SetIFCEntity(hObject, inStrIfcName):
   return BOOLEAN

Description:

Sets IFC entity type



  IFC_SetPsetProp IFC 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   IFC_SetPsetProp
(   hObject :HANDLE;
    inStrPsetName :STRING;
    inStrPropName :STRING;
    inStrPropValue :STRING
) :BOOLEAN ;

Python:

def  vs.IFC_SetPsetProp(hObject, inStrPsetName, inStrPropName, inStrPropValue):
   return BOOLEAN

Description:

Sets the value of a selected property from a property set