Hello. I have been experimenting with ACAPI_View_GoToView and ACAPI_Drawing_GetDrawingLink functions. My idea was to make the camera to move to an selected element in Archicad environment, however, for some reason, ACAPI_Drawing_GetDrawingLink returns -2130313112 error. Here is the code:
![Emkave_2-1739271716457.png Emkave_2-1739271716457.png](/t5/image/serverpage/image-id/83046i380097CFD934D529/image-size/medium?v=v2&px=400)
I also tried to use just ACAPI_View_GoToView() alone
![Emkave_1-1739271592573.png Emkave_1-1739271592573.png](/t5/image/serverpage/image-id/83045i48F48F37394B8CA5/image-size/medium?v=v2&px=400)
But ACAPI_View_GoToView() throws an exception. What is worse is that I can't print out what the exception is even with try-catch.
Have somebody had these issues before and how did you resolve them? Thank you in advance!
Operating system used: Windows 11