Hello,
Is the any way that I get values of this table (Color Scheme Definition for Area Plan) from Revit API?
I would like to read colors assigned to area names or numbers and also (if it is possible) to edit/write them.
I got elements of BuiltInCategory.OST_ColorFillSchema, there is one with "Rentable Area" name,
but it has neither properties nor parameters of any kind - no way to seek further.
This object has type of Element, so it has no functions that can be dedicated for it.
I also got AreaScheme, which has name "Rentable", but it also has no parameters,
I tried also ViewFamilyType and ViewPlan, ColorFillLegend and LegendComponents with similar results
- there were no objects of such type or they had parameters, but not those that I seek.
Do you know where these values ca be found (what category, class)?
Solved! Go to Solution.
Hello,
Is the any way that I get values of this table (Color Scheme Definition for Area Plan) from Revit API?
I would like to read colors assigned to area names or numbers and also (if it is possible) to edit/write them.
I got elements of BuiltInCategory.OST_ColorFillSchema, there is one with "Rentable Area" name,
but it has neither properties nor parameters of any kind - no way to seek further.
This object has type of Element, so it has no functions that can be dedicated for it.
I also got AreaScheme, which has name "Rentable", but it also has no parameters,
I tried also ViewFamilyType and ViewPlan, ColorFillLegend and LegendComponents with similar results
- there were no objects of such type or they had parameters, but not those that I seek.
Do you know where these values ca be found (what category, class)?
Solved! Go to Solution.
Solved by Joe.Ye. Go to Solution.
Revit 2013 didn't expose the API to change or update the color scheme.
An API wish was logged for this.
Regards,
______________________________________________________________
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!
Revit 2013 didn't expose the API to change or update the color scheme.
An API wish was logged for this.
Regards,
______________________________________________________________
If my post answers your question, please click the "Accept as Solution" button. This helps everyone find answers more quickly!
Hi Joe Ye,
I also want to automatically add a new color scheme by using the API. Any API updates about this in Revit 2014 or newer?
Regards,
Geert
Hi Joe Ye,
I also want to automatically add a new color scheme by using the API. Any API updates about this in Revit 2014 or newer?
Regards,
Geert
Can't find what you're looking for? Ask the community or share your knowledge.