Assign different materials to in-place components

Assign different materials to in-place components

Anonymous
Not applicable
2,805 Views
9 Replies
Message 1 of 10

Assign different materials to in-place components

Anonymous
Not applicable

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

no material property.png

 

Step 1: I create "Material" shared parameter and project material and link them together

SP.pngPP.png

 

Step 2: Then I need to enter "Edit in-place" mode to assign the shared parameter to the "material" property for each components.

assign SP.png

 

Now I exit the "edit in-place" mode and assign material

assign material.png

 

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)

0 Likes
2,806 Views
9 Replies
Replies (9)
Message 2 of 10

barthbradley
Consultant
Consultant

What you mean by "time schedule"?  

0 Likes
Message 3 of 10

Anonymous
Not applicable

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

 

0 Likes
Message 4 of 10

barthbradley
Consultant
Consultant

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.  

0 Likes
Message 5 of 10

Anonymous
Not applicable

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.

0 Likes
Message 6 of 10

loboarch
Alumni
Alumni

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.

 

https://knowledge.autodesk.com/support/navisworks-products/learn-explore/caas/CloudHelp/cloudhelp/20...

 

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.



Jeff Hanson
Principal Content Experience Designer
Revit Help |
0 Likes
Message 7 of 10

Anonymous
Not applicable

Hi 

 

0 Likes
Message 8 of 10

loboarch
Alumni
Alumni

@Anonymous wrote:

Hi 

 


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.



Jeff Hanson
Principal Content Experience Designer
Revit Help |
0 Likes
Message 9 of 10

ToanDN
Consultant
Consultant

You need to utilize view filters instead of materials.

0 Likes
Message 10 of 10

Anonymous
Not applicable

Hi 

 

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.

0 Likes