unit affects this. API shows the value in document unit, while product uses meter. You can see a small 'm' atfer the values in the dialog viewpoint>edit>position.
I do not think it will be difficult for you to convert the values in different units, though Navisworks API does not provide the conversion.
btw, the document unit is told by Document.Units
no Navisworks API, but this is a math question. e.g.
if the document unit is foot. while 1 foot = 0.3048 meter. thus the value in meter is : value * 0.3048
does this make sense?
I am so aggrevated by the Navisworks API/Documentation
It's the simplest things that drive me crazy.
How does someone get a collection or array of the savedViewpoints?
I can get one viewpoint, but i want to loop thru all of them. And I want to detect where they are in the "View" tree in the Navisworks UI, like if the viewpoint is in a folder.
Is there a website that I'm missing that has sample codes of Navisworks scripts? This seems extremely poorly documented.
I’d apology for any inconvenience our API document caused. Our document is in the progress to be better. We appreciate any of your comments.
I am struggling to understand your question because of the other forum thread you are discussing in. if you just need to get the collection of saved viewpoints, the way is direct. Here is the blog:
but, I think you actually wanted to get the collection of selected viewpoints, as you mentioned in the other thread. I will reply there.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.