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"
How can this be, when I explicitly create Newvp as a SavedViewpoint?
maybe you need to do smth like this:
Dim Newvp AsNewAutodesk.Navisworks.Api.SavedViewpoint(doc.CurrentViewpoint)
please take a look at this blog if it helps.