AnsweredAssumed Answered

VBA: Objects have no properties inside watch window

Question asked by Andreas Killer on Jun 24, 2013
Latest reply on Sep 30, 2018 by Horacio Estrada

When I debug a macro in VBA, I want to browse the object structure inside the watch window. In MS Office, this is possible with every object, but I can't get it to work in Solidworks.

 

(FYI: I'm a professional with the MS Office API, I know almost any hint how to debug a macro, the object catalog, etc.)

 

Please see the attached picture, the left macro runs inside Solidworks VBA, the right one inside MS Excel. As you see the xlApp variable shows many properties, but the swApp variable shows nothing.

 

Is use Solidworks 2013 x64 SP2.0, what's missing?

 

Andreas.

Attachments

Outcomes