Hi all,
I am looking to programmicaly create a 2x2 viewport structure, similar to that of the split viewports button.
This will run via a custom built plugin. Does anyone know where in the API I can create and apply new viewports?
Cheers,
Marc C
Solved! Go to Solution.
Solved by Khez. Go to Solution.
Viewports are called "Views" in the Naviswork API.
You might want to check out the .net api reference manual located in \Navisworks Simulate 2014\api\NET\documentation
Here's what it says about the view class:
"In Navisworks you can split the main window to get two different views of the same model, by this method using the API you would have access to two views (one of which can be accessible as Document.ActiveView) both referring to the same document."
(Reference Guide > Autodesk.Navisworks.Api Namespace > View Class)
I've never created views, and it doesn't seems like there is methods in the view class to create or copyfrom views, so I wonder how could one do that. Maybe through the COM API.