reza Posted July 30, 2016 Posted July 30, 2016 Hi When I want to create a surface from file like this: (if (findfile "D:/DATA_TEXT/1.txt") (createtinfromfile "D:\\DATA_TEXT\\1.txt" "Surf1" "s1" "Standard" "ENZ (comma delimited)")) I must first create a surface manually in civil 3d otherwise can not create surface by lisp please help me Quote
BIGAL Posted July 31, 2016 Posted July 31, 2016 If you dig deep in the Autocad directory you should find the directory that has sample code for creating a surface from points file. I will see if I can find it. Quote
reza Posted July 31, 2016 Author Posted July 31, 2016 Dear BIGAL My issue is not creating a surface form point file in Auto cad Civil 3D. The real problem is I can't create my surface based on data point file automatically (by which I mean through lisp) before I create at least one surface manually. Attached you may find data point and code files. 4-createTINfromfile.lsp 5-Call Create TIN from File.lsp 1.txt Quote
reza Posted July 31, 2016 Author Posted July 31, 2016 Hi How to confirm this Dialogue Box in lisp : (command "_AeccCreateSurface") Quote
BIGAL Posted July 31, 2016 Posted July 31, 2016 I thought I posted already to search under autodesk......\sample\com for surface example code. Pick the VBA option you can dump it and write in VL Lisp if required. Quote
BIGAL Posted July 31, 2016 Posted July 31, 2016 Moderator need to merge other post by reza its the same subject. Again as I posted in your other post you can do it all automatically search for the example code thats exactly what it does create a surface and add pts making a TIN. Quote
reza Posted August 1, 2016 Author Posted August 1, 2016 Dear BIGAL I did not get what you said please give further explanation Quote
BIGAL Posted August 2, 2016 Posted August 2, 2016 There is sample code for creating surfaces from a points file you just need to change a few values in the sample like your data file name surface name and style to be displayed. SurfacePointsSample.zip Quote
reza Posted August 2, 2016 Author Posted August 2, 2016 I'm really sorry I find it and used thank you very much...........DEAR BIGDAL Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.