Reference File
[quote user="Kari Heinola"]iStatus = mdlRefFile_attachByView(&modelRefP, filepath, viewInstName,
viewInstName, viewName,
scale, ¢er_point,
REF_FILE_LEVEL_DISPLAY_DEFAULT,
TRUE, TRUE);[/quote]
That function is pretty much unchanged, except for the use of Unicode (WChar) character strings. Most of the C++ uses WChar strings.
WChar = 16-bit character. typedef of C++ wchar_t WCharP is a typedef for WChar* WCharCP is a typedef for WChar const*
Views
There's quite a lot in the MicroStationAPI help about NamedViews, ViewPorts and ViewInfo. As with much of the API, new classes supplant mdlView_xxx functions. If you look through the SDK delivered examples you'll find one or two that deal with views.