Copy linked levels to current view and rename ones on same level

OK I am having a hard time getting my head around this one. We have 2 different templates a schematic design template and the construction document. once the SD is complete we copy it into the CD and run with it. Here are the steps.

  1. we use tool to select all the elements and record all of their phases
  2. Open up the new CD template and link in the SD project.
  3. Manually rename and create the Levels to match what is in the SD (Need to do this because if you bind in a link with the levels included it creates 2 different levels at say 0,0)
  4. Bind in the Link without including the levels.
  5. ungroup the previous linked file (binding creates a group for moving)
  6. run the utility to place all the elements on the same phase as it was in the SD.

That’s it. not that hard but I tell you people cannot follow directions and keep messing it up. this process works fine but I want some way to automate the manual renaming and creating of the levels.

I have 2 dynamo scrips right now to run on the source and 1 on the target to achieve the proper phases .

Thanks in advancelevels.dyn (18.1 KB)

Level.ByElevationAndName accepts a list of Elevations and a list of Names to produce multiple levels. You can Element.GetParameterValueByName off of your watch node to retrieve both of these lists from your linked model list of levels.

In this approach the levels would be unassociated with the linked model (no copy/monitor relationship).

Cool got is started. but why is the levels not Floor related (Blue) they are just referenced levels. is there a way to make them floor related?

You will have to make new views based on the new levels. This is not an automatic thing that happens.

So is that a no or can you make the views with the levels. I know I can make views and levels but can you tie them in together?

You can. Out of the box, Dynamo has a few view creation options. Try searching the client using “ByLevel”, you have have to use multiple nodes if you want floor plans, ceiling plans, structural plans, renaming the plans you just made, etc… the next few steps tend to be more specific to your workflows, naming conventions, and intended use.

1 Like

Why start in a new file instead of bringing in what you need? In my opinion there is much better data fidelity in a method like below as views in your SD model don’t have to me recreated so data can’t be lost or corrupted on copy-paste.

  • E-transmit project to a new directory and archive the old one.
  • Clean up warning and model health issues.
  • Purge all unused content (hit enter on your number pad after starting the command 5 times or so).
  • Import the content in your CD template that is required (ie: transfer standards, insert view from file and grab all views if you have purged what isn’t required everywhere).
  • Use a ‘copy from file’ graph which leverages a background open method to bring over what you don’t get by the above.
2 Likes

Jacob
the two templates are totally different sheet setups for the client. also we have other clients that use their own templates sent to us. I am trying to kill 2 birds with 1 stone your way would work in a perfect start new approach but we dont have that option. Oh and I am linking in the revit file to the new template not copying like in the title. oops. Thanks

have not tried etransmit because it is not in my Revit 2019 it is in my Revit 2021 however. will give it a try