I'm using version 6.4.23.2 to convert some old Autocad VBA macros and I'm storing all my programs in Common Projects.
Can anyone shed some light on the following:
1) Why I don't have access to ThisDocument and have to use ThisWorkspace.ActiveDocument instead.
2) At the end of the macros, I am attempting to Zoom Extents followed by a Zoom Scale to slightly reduce the view of the drawing.
The ZoomExtents works OK but ZoomScaled is giving a
' Compile Error: = expected'
In Autocad I simply used:
ZoomScale 0.9, acZoomScaledRelative
In Intellicad I have tried
ThisWorkspace.ActiveDocument.ActiveViewport.ZoomScaled (0.9,vicZoomScaledRelative)
but when I type the finishing bracket I get the Compile error message above.
Regards
Jim