When we do something like this (taken from SDK ..\Visualization\DisplayStyleExample
)...
ViewGroupCollectionCR viewGroups = dgnFile->GetViewGroups(); ViewGroupPtr viewGroup = viewGroups.GetActiveP(); if (!viewGroup.IsValid()) return; int viewIndex = 0; ViewInfoR viewInfo = viewGroup->GetViewInfoR (viewIndex);
- Is the active
ViewGroup
always available when MicroStation has a DGN file open? - Do all eight
ViewInfo
instances exist even when some views are closed?