Using Dynamo to create surface from CSV point file

Using Dynamo to create surface from CSV point file

Anonymous
Not applicable
3,517 Views
6 Replies
Message 1 of 7

Using Dynamo to create surface from CSV point file

Anonymous
Not applicable

I was wondering if anyone knows how to create a dynamo script that will create a point group and surface from CSV point file (PNEZD)? It would be great to have a script that would let you pick which CSV file you wanted, pick a name for the point group, and pick a name for the surface.

0 Likes
Accepted solutions (1)
3,518 Views
6 Replies
Replies (6)
Message 2 of 7

Jeew-m
Mentor
Mentor

Hi,

This VIDEO shows how to develop the script. Hope you can do it yourself by looking at it.

Thanks



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







Message 3 of 7

samir_rezk
Advisor
Advisor
Accepted solution

Hi @bfieber 

Attached is a Dynamo script you may use to Import a PNEZD Excel Spreadsheet formatted and columenated the same as the below Excel screen capture (note no column headings) I have prepared a short demo screencast for use with Dynamo Player. (note: Dynamo is not able to add Surface Breaklines and Borders at this time!)

 

 capture.png

 

I encourage you to learn Dynamo, it is a powerful new addition to Civil 3D that greatly simplifies programming for the non programmer. For further learning, be sure to visit the DynamoPrimer as well as many AU Classes available. I presented an AU 2019 Class for Getting started with Dynamo. Also visit the designated Dynamo for Civil 3D Forum to find more Dynamo related help.

Hope this help,

 


Samir Rezk
Technical Support Specialist

Message 4 of 7

Anonymous
Not applicable

Thanks Jeew-m, that routine works.  The only problem is I can't figure out how to choose any csv file to make the surface .  If I name the files exactly like the author of the video, then everything works.  But as soon as I try to select a different csv file, the routine gives me errors and doesn't import the points or create the surface.

0 Likes
Message 5 of 7

Joe-Bouza
Mentor
Mentor

Hello @Anonymous , @samir_rezk & @Jeew-m  

 

This looks great and I am sure Dynamo will move into my work flow at some point.  But how is this any more efficient than right clicking the surface tab and adding the point file? 

 

Pardon the question. I may have missed something.

Joe Bouza
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

Message 6 of 7

itK9Z2E
Explorer
Explorer

thank you 

if i have different description for a lot points in excel file that i want do more point group in same time

how can i do that please?

0 Likes
Message 7 of 7

nkiakas
Advisor
Advisor

Hi @Joe-Bouza 

 

It could be more efficient if you have several point files (xls or csv).

For example, if you have 10 files, either you import points 10 times or create one file of points by pasting the other 9 files to the first file.

In Dynamo you consume the same time for one or ten files.

Dynamo is recommended for "heavy" labor repeated tasks.

 

Regards