EditGeorefWithUI GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   EditGeorefWithUI
( hLayer:HANDLE ) :BOOLEAN ;

Python:

def  vs.EditGeorefWithUI(hLayer):
   return BOOLEAN

Description:

Edit the georeferenced settings of the specified layer. Pass NIL to edit the document.



  GeogCoordToVW GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   GeogCoordToVW
(   inLat :REAL;
    inLon :REAL;
  VAR  outCoordX :REAL;
  VAR  outCoordY :REAL
) :BOOLEAN ;

Python:

def  vs.GeogCoordToVW(inLat, inLon):
   return (BOOLEAN, outCoord)

Description:

Get point in Vectorworks coordinates.



  GetAngleToNorth GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   GetAngleToNorth
:REAL ;

Python:

def  vs.GetAngleToNorth():
   return REAL

Description:

Get angle to north.



  GetGISOrigin GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   GetGISOrigin
( VAR  outLat :REAL;
  VAR  outLon :REAL;
  VAR  outAngleToNorth :REAL
) :BOOLEAN ;

Python:

def  vs.GetGISOrigin():
   return (BOOLEAN, outLat, outLon, outAngleToNorth)

Description:

Get geographical origin.



  GetProjectionLocName GIS 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetProjectionLocName
(   hLayer :HANDLE;
  VAR  outProj :DYNARRAY[] of CHAR
) :BOOLEAN ;

Python:

def  vs.GetProjectionLocName(hLayer):
   return (BOOLEAN, outProj)

Description:

Get the projection format localized name



  GetProjectionProj4 GIS 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetProjectionProj4
(   hLayer :HANDLE;
    esriStyle :BOOLEAN;
  VAR  outProj4 :DYNARRAY[] of CHAR
) :BOOLEAN ;

Python:

def  vs.GetProjectionProj4(hLayer, esriStyle):
   return (BOOLEAN, outProj4)

Description:

Get the projection information in Proj4 format.



  GetProjectionWKT GIS 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   GetProjectionWKT
(   hLayer :HANDLE;
    esriStyle :BOOLEAN;
  VAR  outWKT :DYNARRAY[] of CHAR
) :BOOLEAN ;

Python:

def  vs.GetProjectionWKT(hLayer, esriStyle):
   return (BOOLEAN, outWKT)

Description:

Get the projection information in Well Known Text (WKT) format..



  IsGeoreferenced GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   IsGeoreferenced
( hLayer:HANDLE ) :BOOLEAN ;

Python:

def  vs.IsGeoreferenced(hLayer):
   return BOOLEAN

Description:

Check if the layer is georeferenced. Pass NIL to check the document.



  LegacyShapefileExp GIS 
Vectorworks 2012

VectorScript Declaration:

PROCEDURE   LegacyShapefileExp
;

Python:

def  vs.LegacyShapefileExp():
   return None

Description:

Use the old UI to export shape files.



  LegacyShapefileImp GIS 
Vectorworks 2012

VectorScript Declaration:

PROCEDURE   LegacyShapefileImp
;

Python:

def  vs.LegacyShapefileImp():
   return None

Description:

Use the old UI to export import files.



  SetGISLayer GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   SetGISLayer
( hLayer:HANDLE ) :BOOLEAN ;

Python:

def  vs.SetGISLayer(hLayer):
   return BOOLEAN

Description:

Set layer context.



  VWCoordToGeog GIS 
Vectorworks 2012

VectorScript Declaration:

FUNCTION   VWCoordToGeog
(   inCoordX :REAL;
    inCoordY :REAL;
  VAR  outLat :REAL;
  VAR  outLon :REAL
) :BOOLEAN ;

Python:

def  vs.VWCoordToGeog(inCoordX, inCoordY):
   return (BOOLEAN, outLat, outLon)

Description:

Get geographical coordinates of a point(latitude and longitude).