Spatial Manager for GstarCAD
Documentation

LISP Programming

Integrate with your own LISP functions using the API (Application Programming Interface) creating custom data-related operations.

Data management

  • Get the names of the fields of a table: (spm_fdtabledefn "TableName").
    • TableName: Name of an existing table.
    • Sample: (spm_fdtabledefn “Census”).
  • Get the names of the table(s) linked to the selected entities: (spm_fdgettables).
  • Attach a data table to the selected entities: (spm_fdattachtable "TableName").
    • TableName: Name of an existing table.
    • Sample: (spm_fdattachtable “Census”).
  • Set the value of a data field for the selected entities: (spm_fdsetfieldvalue "TableName" "FieldName" "Value").
    • TableName: Name of an existing table.
    • FieldName: Name of an existing field in the above table.
    • Value: Value for the above field.
    • Sample: (spm_fdsetfieldvalue “Census” “TRACK” “99”).
  • Get the value of a data field for the selected entity: (spm_fdgetfieldvalue "TableName" "FieldName").
    • TableName: Name of an existing table.
    • FieldName: Name of an existing field in the above table.
    • Sample: (spm_fdgetfieldvalue “Census” “TRACK”).

Disclaimer:
  • Some components shown here (providers, names, window styles, etc.) may differ slightly from those on your computer.
  • Certain features require Internet access. If you experience issues, check with your network administrator about a possible Proxy server. You can configure the Proxy settings in the application options.
  • Some geographic data providers (Geocode, image maps, etc.) may require a user account, which you can set up in the Service Provider API Keys section of the application options.