DTM6_ClearModelCache SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

PROCEDURE   DTM6_ClearModelCache
( hObject:HANDLE ) ;

Python:

def  vs.DTM6_ClearModelCache(hObject):
   return None

Description:

Clear the site model's cache.



  DTM6_GetDTMObject SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_GetDTMObject
(   hLayer :HANDLE;
    bPickUpModel :BOOLEAN
) :HANDLE ;

Python:

def  vs.DTM6_GetDTMObject(hLayer, bPickUpModel):
   return HANDLE

Description:

Gets the DTM. If it's only one on the document and/or on the passed layer return it. If there are many DTMs ask the user to pick up one.



  DTM6_GetDTMOver SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_GetDTMOver
( hObject:HANDLE ) :HANDLE ;

Python:

def  vs.DTM6_GetDTMOver(hObject):
   return HANDLE

Description:

Gets the DTM over (geometrically) a specified object.



  DTM6_GetZatXY SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_GetZatXY
(   hDTMObject :HANDLE;
    TINType :INTEGER;
    x :REAL;
    y :REAL;
  VAR  outZ :REAL
) :BOOLEAN ;

Python:

def  vs.DTM6_GetZatXY(hDTMObject, TINType, x, y):
   return (BOOLEAN, outZ)

Description:

Get the elevation at specified x,y on the specified DTM. Returns false if the DTM doesnt exist or the point is outside the DTM. TINType - 0:Existing; 1:Proposed; 2:Current



  DTM6_IsDTM6Object SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_IsDTM6Object
( hDTMObject:HANDLE ) :BOOLEAN ;

Python:

def  vs.DTM6_IsDTM6Object(hDTMObject):
   return BOOLEAN

Description:

Check if the passed object handle is for SiteModel object type.



  DTM6_IsObjectReady SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_IsObjectReady
( hDTMObject:HANDLE ) :BOOLEAN ;

Python:

def  vs.DTM6_IsObjectReady(hDTMObject):
   return BOOLEAN

Description:

Check if the DTM object is ready to be used. If this returns false, you should call 'ResetObject' on the handle to let the DTM object prepare itself to be used.



  DTM6_IsTypeVisible SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_IsTypeVisible
(   hDTMObject :HANDLE;
    TINType :INTEGER
) :BOOLEAN ;

Python:

def  vs.DTM6_IsTypeVisible(hDTMObject, TINType):
   return BOOLEAN

Description:

Return true if the specified DTM type is visible of the passed DTM object.



  DTM6_RestoreDefaults SiteModel Interface Library 
Vectorworks 2014

VectorScript Declaration:

PROCEDURE   DTM6_RestoreDefaults
( hObject:HANDLE ) ;

Python:

def  vs.DTM6_RestoreDefaults(hObject):
   return None

Description:

Sets the default settings for a Site model.



  DTM6_RiseToSurface SiteModel Interface Library 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   DTM6_RiseToSurface
(   hDTMObject :HANDLE;
    hObject :HANDLE;
    TINType :INTEGER;
    sendType :INTEGER
) :BOOLEAN ;

Python:

def  vs.DTM6_RiseToSurface(hDTMObject, hObject, TINType, sendType):
   return BOOLEAN

Description:

Modifies the passed object so it lies on the surface of the desired DTM.



  DTM6_SendToSurface SiteModel Interface Library 
Vectorworks 2011

VectorScript Declaration:

FUNCTION   DTM6_SendToSurface
(   hDTMObject :HANDLE;
    hObject :HANDLE;
    TINType :INTEGER
) :BOOLEAN ;

Python:

def  vs.DTM6_SendToSurface(hDTMObject, hObject, TINType):
   return BOOLEAN

Description:

Modifies the passed object so it lies on the surface of the desired DTM.



  DTM6_ShowSendEdgeDlg SiteModel Interface Library 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   DTM6_ShowSendEdgeDlg
( objWEdgeType:INTEGER ) :INTEGER ;

Python:

def  vs.DTM6_ShowSendEdgeDlg(objWEdgeType):
   return INTEGER

Description:

Shows the Send to Surface dialog for modifier objects with retaining edge.



  MakeModifierClass SiteModel Interface Library 
Vectorworks 2015

VectorScript Declaration:

PROCEDURE   MakeModifierClass
( modifierClass:STRING ) ;

Python:

def  vs.MakeModifierClass(modifierClass):
   return None

Description:

Creates special class for modifiers (if it not exists).



  SetFenceAttrs SiteModel Interface Library 
Vectorworks 2015

VectorScript Declaration:

PROCEDURE   SetFenceAttrs
( fFenceHandle:HANDLE ) ;

Python:

def  vs.SetFenceAttrs(fFenceHandle):
   return None

Description:

Applies fence attributes to input handle.



  SetPadAttrs SiteModel Interface Library 
Vectorworks 2015

VectorScript Declaration:

PROCEDURE   SetPadAttrs
( hPadHandle:HANDLE ) ;

Python:

def  vs.SetPadAttrs(hPadHandle):
   return None

Description:

Applies pad attributes to input handle.