Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Is it possible to add a SavedView using API? Tried the code below but it crashes NavisWorks
ComApi.InwOpState10 oState = ComApiBridge.ComApiBridge.State;
object CView = oState.CurrentView.Copy();
oState.SavedViews().Add(CView);
Creating the SavedView and setting the ViewPoint of the InwOpAnonView work OK.
However,
ClippingPlanes().Add(InwLPlane3f)
of the InwOpAnonView creates an exception
"<<NavisWorks Error - Not implemented>>"
what does this mean?
Hi
Did you have any success with this? I think we are tackling the same issue.
//gets current View nw.InwOpAnonView view = _state.CurrentView.Copy() as nw.InwOpAnonView; //how to apply this view? _state.ApplyView(view); //this fails as it wants a InwOpView
Can't find what you're looking for? Ask the community or share your knowledge.