Jump to content

Adding pipe property values from excel_ lisp or dynamo


QuinnL

Recommended Posts

For our plans, we need to show the 5 year and 100 year hgl (hydraulic grade line). Currently, we draft in the storm pipe in Civil 3d and then export it to stormCAD. StormCAD then gives us the HGL values in a excel sheet. We then hard type these values into civil 3d. (Right click pipe, properties, scroll down, and then hard type the HGL values in.) This takes hours if you are designing multiple storm pipes.  Is there anyway (command, lisp, or dynamo) to auto transfer pipe property values from an excel and pasting them into a pipe network in Civil 3d. 

 

Thanks!

-Q

Link to comment
Share on other sites

if you can save the excel sheet as a comma separated sheet (CSV) this can be read directly as a text file vis a LISP - which is quicker than say the getexcel LISP for reading from an excel file. From there you can use the data as you need to.

 

If you can use something that exists - like BigAl suggests this is probably the best way, if it has been produced, tested and used in the real world then likely that a lot of bugs will be fixed.

 

if that is not viable then we'd need a bit more information i think such as a sample of the excel file, what you need to copy from this and a sample pipe network

Link to comment
Share on other sites

There are also some methods to send it to AutoCAD from Excel with a Macro in Excel not sure if there are any examples sending to a Civil 3D Pipe Network, maybe.

 

From AutoCAD (I don't have Civil 3D should be the same) you can copy the information you want in Excel and Paste Special (there are some options depending on what you want).

 

Like stated, what exactly do you need to transfer into (in other words, what exactly is the information in the pipe network).

 

Lots of info on using Dynamo in Civil 3D for these type tasks.

 

Dynamo Basics for Civil 3D - YouTube

 

Dynamo For Civil 3D: Pipe Network Details from Excel - YouTube

Link to comment
Share on other sites

On 4/6/2023 at 12:16 AM, QuinnL said:

Currently, we draft in the storm pipe in Civil 3d and then export it to stormCAD. StormCAD then gives us the HGL values in a excel sheet

@QuinnL hi

Which version Civil 3d used

Can you attached example drawing and

Example Excel 

It certainly can be done

Link to comment
Share on other sites

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...