Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

access temporary hide/isolate programmatically?

3 REPLIES 3
Reply
Message 1 of 4
joeldeehr
1279 Views, 3 Replies

access temporary hide/isolate programmatically?

Is it possible, given an IList<element> to programmatically temp hide/isolate using the same function as the "sunglasses" icon? I have been searching to no avail.

3 REPLIES 3
Message 2 of 4
saikat
in reply to: joeldeehr

Hi

 

The View Class provides access to methods like HideCategoryTemporary/HideCategoriesTemporary and HideElementTemporary/HideElementsTemporary and similarly IsolateCategoriesTemporary/IsolateCategoryTemporary and IsolateElementsTemporary/IsolateElementTemporary.

 

Hope these APIs help with your requirement.



Saikat Bhattacharya
Senior Manager - Technology Consulting
Message 3 of 4
Dale.Bartlett
in reply to: saikat

Is there a way to set .IsolateElementsTemporary(ids) to permanent? Thanks Dale

 




______________
Yes, I'm Satoshi.
Message 4 of 4

that would be

.ConvertTemporaryHideIsolateToPermanent

Doh!

 




______________
Yes, I'm Satoshi.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community