Jump to content

Civil 3d Pipe Network Structure Labels - Multiple pipe directions with Identical invert elevation

Ryan Bingham

Recommended Posts

I'm putting together a Storm Drain design using Civil 3d Pipe Networks. Right now, based on the connecting pipe inverts, my label says:


Const. SD Inlet Box

Rim 79.79

Invert 73.68 (N)

Invert 73.68 (S)

Invert 72.00 (E)


The numbers are the "Connected Pipe Invert Elevation" and the directions are the "Connected Pipe Direction". Since the north and south directions have identical inverts, it would be nice if the label could automatically be shown more concisely as:


Const. SD Inlet Box

Rim 79.79

Invert 73.68 (N/S)

Invert 72.00


Anyone know if there's a way to make this happen? Hopefully I've posted in the correct category/forum - if not, I apologize. Thanks for your help!

Edited by Ryan Bingham
Link to comment
Share on other sites

This is the proper topic for everything related to Civil 3D. Welcome to CAD Tutor!


I'm almost certain you'd have to write some code to do what you want, because you'd have to check for matching inverts. I don't think the labeling system is smart enough to do that, since it processes only one pipe at a time. In effect you'd have to rewrite the labeling system just to get one tweak.


The brute force approach would be to define a similar style that combines both directions, but if either of the inverts changed, the label wouldn't reflect that. You'd have to constantly check the inverts to see if you should revert to the original style.


There's probably some kind of expression magic to do this, but I'm not good enough at programming to figure it out. You might be able to check two adjacent pipe components and combine their directions. Here's a trick for doing something like that, just to give you an idea of how you can do this type of thing.

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.

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