I am trying to use a vba wrapper declaration which is given below. But how to get the value of coordsystem using vba which in turn used as a input parameter for the below given wrapper declaration.
Declare Sub mdlView_getViewRectangle Lib "stdmdlbltin.dll" ( ByRef viewRectP As BSIRect , ByVal windowP As Long , ByVal coordSystem As Long )
Hi Dharma,
from mdlView_getViewRectangle function description:
In msdefs.h a macro VIEW_INGLOBALCOORDS is defined as:
#define VIEW_INGLOBALCOORDS 1
So the only value you can use is 1.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point