Sincpac-3D Utilities for Civil 3D 2007

This is a collection of routines for extending Civil-3D.  It is similar to the collection of Lisp routines for Land Desktop, except the routines are written to work in Civil-3D.  That means some routines from Land Desktop are no longer here, and new routines have been added to address specific Civil-3D needs.

Licensing and Terms of Use

These routines are made freely-available to the general public.

Contents

This version of the library provides the following commands.  You may wish to create aliases for the longer command names using the "Command Alias Editor" in the Express Tools (or by manually editing your acad.pgp file).  I list the alias that we use for each command, but you are free to create your own.  You may also want to create toolbar buttons to call some or all of the routines, or assign some or all of the commands to keyboard shortcuts (CTRL + a key).

Installation Instructions

There are a number of ways to install the DLL.  The easiest is to download the appropriate version and place it in a convenient location.  Then include the following line in your ACAD.LSP file (if you don't have an ACAD.LSP file, simply create one in a text editor and put it in a directory in your support path):

(command "netload" "C:/My DotNet DLL Deployment Directory/SincpacC3D.dll" "FIXSCALES")

Or, if you don't want to enable the FIXSCALES support at startup, use this line in your ACAD.LSP file, which omits the call to FIXSCALES:

(command "netload" "C:/My DotNet DLL Deployment Directory/SincpacC3D.dll")

If you place the .DLL on the network, you may have to adjust permissions to allow it to run.  One way is to open a Command Prompt window, navigate to the .NET 2.0 installation directory on each user's machine (usually located at "c:\windows\microsoft.net\framework\version\") , and type the following command:

caspol.exe -machine -quiet -addgroup 1 -url "file://MyServer/My DotNet DLL Deployment Directory/*" FullTrust

Instead of changing permissions with CASPOL, you can also write a script (i.e., a Windows Logon script) that copies the DLL from the network to the local user's machine.  This has the benefit that you can update the DLL on the network drive whenever you wish.  Then, each time a user logs on to their machine, the script copies the DLL from the network to the user's local machine, ensuring the user has the latest copy of the DLL.  If you let each user mount the DLL from the network drive, you may need to force all your users to shut down Civil-3D whenever you want to update the DLL.