Page 1 of 1

SW isometirc View

Posted: 18 Oct 2007, 18:04
by jprisbe
How do I programatically select "SW Isometric" view.
I have tried getting to it via:
CADViewLib.sgToolButton tbtnSWIsometric;
tbtnSWIsometric = axCADViewX1.ToolBars.get_Items("CAD Image").get_Items("3D Orbit");

But cannot get to it.

Thanks

Posted: 18 Oct 2007, 18:34
by support
Hello!

Please try the following code:

Code: Select all

axCADViewX1.get_Actions().get_Item("SW Isometric").Execute();
Sergey.

Please post questions to the forum or write to support@cadsofttools.com

Posted: 18 Oct 2007, 19:13
by jprisbe
I get this error when trying your suggestion:

AxCADViewLib.AxCADViewX.Actions.get: cannot explicitly call operator or accessor

Posted: 18 Oct 2007, 20:23
by jprisbe
OK. I got it to work. It was...

axCADViewX1.Actions.get_Item("SW Isometric").Execute();

Thanks,