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.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.