Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted

Hi

How to confirm this Dialogue Box in lisp :

 

(command "_AeccCreateSurface")

Dialogue Box.png

Posted

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.

Posted

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.

Posted

Dear BIGAL

I did not get what you said please give further explanation

Posted

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

Screen Shot 08-02-16 at 01.04 PM.jpg

Posted

I'm really sorry :cry:

I find it and used :D

thank you very much...........DEAR BIGDAL

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...