Message 1 of 3
Adding New SavedViewpoint Problem
Not applicable
09-30-2012
06:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am having a problem with the following code, which is failing beacuse it thinks Newvp is an unsupported type of SavedItem.
Dim Newvp AsNew Autodesk.Navisworks.Api.SavedViewpoint(doc.CurrentViewpoint)
Newvp.DisplayName = "Test"
doc.SavedViewpoints.AddCopy(Newvp)
How can this be, when I explicitly create Newvp as a SavedViewpoint?
Cheers
Mike