I want a LISP routine that creates a TIN Surface in Civil 3D from a specific CSV-file. Is that possible?
Solved! Go to Solution.
Solved by Jeff_M. Go to Solution.
H,
Well, maybe. I don't know that much about LISP. But I just have to ask you why it needs to be a LISP? You can make a Surface from a CSV file easily and quickly.
Dave
Dave Stoll
Las Vegas, Nevada
To add to what Dave said.
Allen Jessup
CAD Manager - Designer
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.
Point taken!
My reasons are that if I could get some help with that LISP routine, I have an extremely streamlined workflow from database points to a Civil Surface.
Backkground:
We store our height points in an Oracle database. To search them out we draw a polygon, check it in the database with FDO Connection and use it like a boundary. Then SQL creates a CSV file with points that is renamed and copied to the working folder.
That, we have accomplished in LISP and it is a one-button-click.
Wishlist:
The last thing that we don´t know how to do is to create a Surface with a certain CSV file in LISP. If we could do that we´ve made it really easy for our users to do their work.
Attached is a lisp file that will help with this task. It is setup as a function which can be called from another lisp like so:
(createtinfromfile "E:\\Civil 3D Projects 2016\\Surface.txt" "Test1" "C-TOPO-EG" "Border Only" "PNEZD (comma delimited)")
where the arguments are: filename surfacename layer stylename fileformat.
Thanks to Jeff (and others) we now have a command that gets point data from Oracle to a file, copies and renames it, creates a Civil Surface with maxtrianglelength set to 5 m. Many thanks to all you people out there helping eachother getting smarter!
Thank you very much, now on the basis of your code I will try to create a surface of volumes.
Until the end is not sure what it will turn out
See top post where it says:
(createtinfromfile "E:\\Civil 3D Projects 2016\\Surface.txt" "Test1" "C-TOPO-EG" "Border Only" "PNEZD (comma delimited)")
where the arguments are: filename surfacename layer stylename fileformat.
I have made a command in the Toolbox easy use but the command line is the same.
Good Luck!
I take that message.
@libarraSCXGZ no, the COM API does not have a method for adding drawing objects. This can be done using the .NET API. If you'd like to pursue this please inquire in the C3D Customization forum.