I want to adjust the detail level by category.

I want to adjust the detail level by category.

genosyde
Advocate Advocate
814 Views
3 Replies
Message 1 of 4

I want to adjust the detail level by category.

genosyde
Advocate
Advocate

Hello. Dear Developers,
I want to adjust the detail level by category.
I couldn't find any material related to this.
We would appreciate it if you could provide relevant materials and links.
After receiving the material and studying it, I plan to post the relevant details separately.
Thanks for reading my article.
Have a happy day today.

0 Likes
815 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

It sounds to me as if such functionality would have to be available in the Revit user interface before you can hope to find it in the Revit API. Therefore, I would suggest discussing it in the much larger and more general Revit Architecture forum first, to determine whether anything like that is available in the Revit product at all.

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 4

genosyde
Advocate
Advocate

Thank you for your valuable reply.
Yes, as you said I want to adjust the level of detail in the visibility/graphics window.
I am a beginner Revit API developer.
You need the function you asked for in the program you are currently developing.
- Function: When exporting to CAD, the pipe is just marked as a line, so only the pipe has to adjust the detail level to Fine.
I've been looking into 'OverrideGraphicSettings' method, properties to find this feature, but to no avail.
Please help.
Is it possible to programmatically adjust the detail level for each category?

genosyde_0-1635336343889.png

 

0 Likes
Message 4 of 4

RPTHOMAS108
Mentor
Mentor

These are category overrides per view so would assume what you are looking for is:


View.GetCategoryOverrides(CategoryId as ElementId)
OverrideGraphicSettings.SetDetailLevel
View.SetCategoryOverrides(CategoryId as ElementId, overrideGraphicSettings As OverrideGraphicSettings)

0 Likes