We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-03-02 02:43 PM - last edited on 2021-09-14 09:57 AM by Noemi Balogh
2021-03-10 08:03 PM
API_WindowInfo newWindowInfo = {}; newWindowInfo.typeID = APIWind_3DModelID; ACAPI_Automate (APIDo_ChangeWindowID, &newWindowInfo);
2021-03-11 11:43 AM
2022-09-06 11:31 PM
Hi gunners6522!
I also have/had the same problems you described above, I received APIERR_BADPARS error when trying the function.
I think I found the solution by trial and error. I just used the GUID of the view (API_NavigatorItem guid) converted it into GS::Guid and then to const char*.
It did the job for me! This way I can open views from the ProjectNavigator.