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

How to load saved view with .Net APi?

2 REPLIES 2
Reply
Message 1 of 3
dejiangwang
708 Views, 2 Replies

How to load saved view with .Net APi?

I want to load saved view with .Net API. 

I just know with javascript ,the code is :

  navis_doc.state.currentview = navis_doc.state.savedviews(1).anonview;

But I can't find the function with C#  in .Net API.

Anybody know how to load the saved view with C#?

 

2 REPLIES 2
Message 2 of 3
ngombault
in reply to: dejiangwang

Could you be looking for SavedViewpoints:

Autodesk.Navisworks.Api.Application.Activedocument.SavedViewpoints.CurrentSavedViewpoints = YourSavedViewpoints ?

Message 3 of 3
xiaodong_liang
in reply to: ngombault

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report