I have 4000 generic model components in a Revit file. Those components are coming from IFC.
I need to assign different materials to these components according to the time schedule. The time schedule will change often, so if I do it manully, it will be a tedious work.
Since there is no material parameter
Step 1: I create "Material" shared parameter and project material and link them together
Step 2: Then I need to enter "Edit in-place" mode to assign the shared parameter to the "material" property for each components.
Now I exit the "edit in-place" mode and assign material
For Step 2, if I do it in Revit, I have to do it 4000 times.
I want to know if it's possible to do Step 2 in batch mode in Dynamo? If it is, then how to do it?
Revit File link (only 5 compomenets in revit for simplicity)
The color of the material need to be changed according to time schedule.
With planned starting time: purple
With actual starting time: green
With actual complete time: blue
other type: original material color
Are you doing something like a Gantt Chart?
Frankly, you can't do what you want to do through changing the component's Material color. The component can only have one Material state in the Project.
I know that no more than one color can be applied to a compoennt at the same time.
But I need to change material when schedule changes,
e.g.
all the collumns change to steel (red) on this Monday, then change to steel (green) on the next Monday.
I can change materials according to schedule in Dynamo, but I can't apply materials to in-place compnent in Dynamo.
This seems a bit like you are using Revit a a "screwdriver" to drive in a nail when what you really need is a "hammer".
You can probably force Revit to do this and go through a lot of work to make it happen and make changes, but what you are describing sounds a lot like something you would use Navisworks timeliner tools for.
I would look into that more closely. Even if you had to buy it, it sounds like the investment might be worth it in time saving alone.
@Anonymous wrote:
Hi loboarch,
I like your analogy
.
I know that Navisworks is a better choice. But unfortunately the owner of this project doesn't want t use navisworks or other softwaes to do the work.
Well I guess the owner likes to spend money on foolish things. I am not sure if there is really any "easy" way to do this in Revit.
Hi ToanDN
Actually I did assign color to view, and it works on Revit.
Unfortunatley I have to convert rvt to another format and upload it to owner's BIM manager platform. The engineer of the platform says Revit API doesn't support get the color in view when converting to other format, so the color in view will be lost during convertion.
Then I have to assign material to elements.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.