Color Fill Legend

Color Fill Legend

Wolfgang.B.Weh
Enthusiast Enthusiast
883 Views
1 Reply
Message 1 of 2

Color Fill Legend

Wolfgang.B.Weh
Enthusiast
Enthusiast

Hello,

 

I'm still rather new to the Revit API. I've searched for information how to create a 'Color Fill Legend' for rooms using the API, but haven't found anything. Is this functionality not accessible from the API?

 

If not, is there perhaps some workaround how to achieve a similar result?

 

I understand that I can get the boundary of a room using 'GetBoundarySegments'.

I guess I could use that data to create an area, or a filled region or so.

 

Any ideas, hints or tips?

 

Many thanks in advance.

 

Wolfgang

 

884 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Wolfgang,

 

The first step is always to determine the exact manual steps to achieve what you wish.

 

Once you have that script in place, you can set about automating it.

 

Use RevitLookup to examine the model that you generated manually and reproduce that using the API.

 

In 2014, you can launch Revit commands. Maybe that will help you achieve the goal?

 

You can also use copy and paste functionality to grab elements from some other project and paste them into your current one.

 

I hope this helps.

 

Best regards,



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes