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.
we use tool to select all the elements and record all of their phases
Open up the new CD template and link in the SD project.
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)
Bind in the Link without including the levels.
ungroup the previous linked file (binding creates a group for moving)
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 .
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).
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.
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.
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
OK back on this lol
I got it to make the new Views and levels but now the big issue both templates have elements linked to level 0â-0" so when I remake the levels I dont want to repeat levels that are in the same location just rename them then skip them before the new ones are created. here is where I am right now.
I know this is a slightly different question but itâs hard to follow when you go back and forth between posts.
The straight forward solution is to compare elevations and match names. It gets trickier when you have different elevations. What do you expect to happen when that happens?
Sorry was just trying to break it down into parts because wasnât getting anywhere on the other one. All I want to do is get a Revit file from a different clientâs project into our template. here is the manual step by step way and how I was trying to get dynamo to help with the time.
Open the project file that needs linked in.
add phasing IDs to all the elements (this allows me to set all the elements to the right Phase after it is bound)
link in the Revit project to the new template file.
Recreate all the levels and heights (case sensitive) and if it has views attached to them.
Bind the project (Without the Levels) so they stick to the newly created levels.
Ungroup the project.
Run the script to put all the elements on the correct phase.
SO right now, I have the upfront part worked out with the appropriate phasing (Step 1 and 7)
Also got it to create the views (somewhat lol)
P.S. not a python script writer which doesnât help the matter.