Create multiple profile views with multiple surfaces and styles

I would first like to create Profile Views for all the alignments in the file with all the surfaces, and choose style depending on name of surface; Surface “Berg” should have Style “Berg” for example

I would then like to create profile Views for all the Profiles created, often with the default values, but sometimes change a few things, for example Profile view height. I would then like to Select profile view insertion point in model space.

Can Dynamo do this for me?

Hi @AnnaCad,

Yes, you can do this with Dynamo.

  1. Create the profiles using the Profile.BySurface node
  2. Set the styles of the profiles using the CivilObject.SetStyle node
  3. Create the profile views using the ProfileView.ByAlignment node

Give it a try and let us know if you have questions :slight_smile:

Hi, @zachri.jensen
Even when placing the correct nodes into the Profile.BySurface node, it still ends up returning null.

Hi @Eduardo.Soethe,

Please check two things:

  1. The default object layer for profiles (in drawing settings) is set to a layer that exists in the drawing
  2. The default style (in feature/command settings) is set to a style that exists in the drawing

That should fix it for now. We’ve already addressed this issue for the next Civil 3D release.

It’s working now, thanks!
But now I’m stuck again: Dynamo doesn’t have a node to apply the bandset to the Profile View. Do you know any tricks or workarounds for this?

Correct, no nodes for bands currently. You could try using the API to do what you need.