How to open view

How to open view

tuuletin
Collaborator Collaborator
5,560 Views
3 Replies
Message 1 of 4

How to open view

tuuletin
Collaborator
Collaborator

Hello, friends,

how to show (open) the certain view from the project?

Accepted solutions (1)
5,561 Views
3 Replies
Replies (3)
Message 2 of 4

Revitalizer
Advisor
Advisor
Accepted solution

Hi,

 

UIApplication.ActiveUIDocument.ActiveView = yourView;

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





Message 3 of 4

Anonymous
Not applicable

Hi Revitalizer,

 

Glad to see you again.

 

 

I have asssigned my view as ActiveView to UIDocument class as u have mentioned above. But the view not has been opened or changed in my revit application. Please help me to accomplish this.

 

Thanks and Regards,

Vinoth Kumar.R

0 Likes
Message 4 of 4

Revitalizer
Advisor
Advisor

Hi,

 

it depends on the context.

https://forums.autodesk.com/t5/revit-api-forum/setting-activeview-during-idling-event/m-p/6848256#M2...

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes