Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add LISP routine to Toolbox

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
neilyj666
2536 Views, 6 Replies

Add LISP routine to Toolbox

I have added several .DLL's to the Toolbox and am wondering if it is possible to add and use Lisp routines via the Toolbox.

 

I currently have my frequently used Lisps on a tool palette (I don't necessarily want or need to have them load on startup)

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
6 REPLIES 6
Message 2 of 7

Add a new tool as you would for a dll.

 

For the Execute Type choose CMD instead of .NET

 

For Macro Name put -

 

(load "C:\\Users\\Andrew\\Desktop\\c1") CAT

 

where "C:\\Temp\\c1" is the path and name of the lisp file, and CAT is the command name in the LISP file to run. C:\Temp is the path and c1 is the lisp file without the .lsp extension. Don't forget the double backslash in the path name to satisfy lisp convention.

 



If a post provides a fix for your issue, click on "Accept as Solution" to help other users find solutions to problems they might have that are similar to yours.

Andrew Puller
Maitland, NSW, Australia
Windows 10 Enterprise 64bit
Intel core i7 11800 @ 2.30 GHz with 32GB Ram
Civil 3d 2021
Message 3 of 7

Thanks - that works well

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
Message 4 of 7

 

wave 

Is anyone aware of a command, a report or program that allows me to generate a report that includes the following: 

Station of the sample line 
And lifting of all cut points along the surface of tin shows 
Basically, just a report containing the same information is represented in a sectional view when the sample surface. Note that I am interested in the surface consists of numerous survey items that are not necessarily at the station. The surface is not generated from the characteristic lines. 

Thanks, 

francis

Message 5 of 7
PenAndInk
in reply to: neilyj666

the original post may be a few years old, but the information and procedure there was just what i needed!!!!!!

Message 6 of 7
Partha.Sarkar
in reply to: PenAndInk

Good to know that.

 

More details are available in Civil 3D help file -

 

http://docs.autodesk.com/CIV3D/2013/ENU/index.html?url=filesCUG/GUID-5A0924C0-0ED6-437E-81EA-99627C6...

 

Cheers,

 



Partha Sarkar
Developer Technical Services
Autodesk Developer Network

Message 7 of 7
neilyj666
in reply to: PenAndInk

You can also create a custom toolbox file and add your own tools to it which has the advantage of being portable between versions. If you add stuff to the default file it'll be overwritten when the software is upgraded but this method prevents this happening

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2024 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report