- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am new to using VBA and Lisps to customize Civil3D. I am kinda confused about how the two work together. I have been watching some videos and looking at forums, but it never really works when I try to do it. My VBA Macro works perfectly but I can't get a working lisp to execute it with a typed command. Anyone have any ideas? This is what I have tried out. I saw it on some forums and youtube videos.
I was also wondering if it would be better/possible to just recreate the VBAmacros as a lisp instead.
Here is the macro I made: AddAreaAsMText. It asks for a closed polyline, gets the area, converts it to SY, then creates an mtext box for it that is inserted wherever the user clicks.
Here is the lisp I made to try to make this into a command on the command line.
Sorry this probably sucks I am really just frankenstiening everything together.
Video I used: https://youtu.be/iQLRy9lFwfI?si=5b3rS8z7t6HLmMXj
Help pages I used: https://help.autodesk.com/view/CIV3D/2023/ENU/?guid=GUID-D991386C-FBAA-4094-9FCB-AADD98ACD3EF
I run Autodesk Civil 3D 2023.
Solved! Go to Solution.