Message 1 of 19
Infraworks - Using Bookmarks with a Script

Not applicable
03-01-2018
03:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello people !
My question is quite simple : how to move the point of view to a specific position with a script.
My first idea was to use the JS MoveToBookmark with a the bookmark recorded on the place i whant to spot.
var doc = app.ActiveDocument();
doc.MoveToBookmark("Start.json");
But nothing append, the point of view does'nt move...
Something missing or the command MoveToBookmark isn't shape for that ?
Thanks for your help !