Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [CONNECT DgnPlatformNet] How do I spell IViewManager::UpdateView in C#?

$
0
0

[quote user="Paul Connelly"] Maybe you should describe why you feel you need to update the viewport[/quote]

I'm attempting to focus a view on a particular element.  Here's where I'm setting the view origin & extent...

viewInfo.SetGeometry(elementCentre, elementDelta, rotation);
viewGroup.SetViewInformation(viewInfo, nView);
viewGroup.SaveChanges();
viewGroup.SynchViewDisplay(nView, false, true, false); 

When I run the code I see no change in the view.  If I update the view manually, I see the view focus on the element.  My assumption is that I need to update the view after SynchViewDisplay().


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>