Create Pipe Section Labels for All Pipe Networks within Section View Group

I’m interested in using Dynamo to create a workflow for generating labels for pipes in section views. The goal is to label all pipe crossings for all pipe networks within a section view group.

My current work flow is selecting one pipe in one section view and generating pipe crossing labels for just that section view, then repeating.

My goal would be to be prompted for the following:

  1. Choose a section view to determine the section view group.
  2. Choose the pipe network from a dropdown list of available options.
  3. Choose the pipe label style from a dropdown list of available options.
  4. Generate section pipe labels.

The problem I’m running into is finding nodes that allow interaction with section view groups. I’m only seeing ways to interact with individual section views one at a time. I’m new with Dynamo so any help would be appreciated.

Hi @jconway,

Nodes for section view groups seems like a pretty good thing for us to add, so I will make a note of it.

For your current task, though, do you just need the ability to get a list of all section views in a group?

That’s great to hear! Would love to see that added.

I’m not sure if I can answer your question right now because this will be the first routine I’ve put together and I’m totally new to this all! There might be other things preventing me from getting this done that I’m not aware of.

Ideally, getting a list of all section views in a group is not necessary. I want to run this routine on all section views within a group, so there’s no real need to specify an individual section view. In Item #1 of my original post, I was imagining I would click on a section view in model space to start the routine. But this could (should?) be done with a dropdown list of available section view groups.

OK, maybe you can give it an initial try and then post any specific issues you run into?

For your current task, though, do you just need the ability to get a list of all section views in a group?

Sort of hijacking this thread but is there the possibility to do this already?
The “Choose object of type”-node doesn’t have sample line group as an option so right now I’m always selecting the individual sample lines or section views.

Would this work?

2 Likes

One corner too much for my foggy brain - this does the job very well, thank you! :slight_smile:

2 Likes

Hopping back into this. I’m working on the routine again today and realized I do not have access to any nodes that will allow me to create pipe crossing section view labels / network part labels. I explored the available Dynamo packages and did not see anything that seemed useful. Maybe this could be accomplished with Python code?

Correct, there aren’t any nodes currently for those specific types of labels. However, you could consider using the nodes for generic offset/elevation labels and then just populating them with the data that you need.

Darn, that’s a bummer. I will likely take a break in trying to make this happen then. Maybe that functionality will be added one day?

I can certainly add it to the list :slight_smile:

But circling back to my previous comment…what information are you wanting to show in the labels? You could still use Dynamo to create generic labels and then put whatever pipe data you want in them. The content wouldn’t be truly “dynamic”, but updating everything would just be a matter of re-running the script.

I will plan to give this a try. Things are pretty busy in the office lately so hopefully I get some time to try soon!