Perform the function of an add-on via macros

Hello

Do you know if it is possible to execute a function (as you would do via a toolbar button) of an add-on (like Logopress for example) using a macro in VBA? And if so, is it possible to fill in values in the panel on the left and validate the function?

I doubt it, but it would be incredibly convenient!

Thank you.

Hello

Try recording a macro and look at the code:

http://help.solidworks.com/2013/French/SolidWorks/sldworks/c_recording_playing_macros.htm

 

1 Like

Yes, I tried.

 

But it gives me (well try to give me because the result is catastrophic) what the add-in is doing. (And not what I did by simply pressing the button.

I don't know if you understand?

Look here:

https://forum.solidworks.com/message/249622

Otherwise, it may not be possible!

1 Like

Hello

What is the purpose of the add-on function???

Look here:

https://forum.solidworks.com/message/249622

Otherwise, it may not be possible!

 

No, that's not it.

 

>Hello,

What is the purpose of the add-on function???

 

There are several, nothing specific. But I do think that this is not possible. I'll look to see if I can possibly do it in C-Sharp or C++ via the solidworks SDK, but I doubt it's feasible. Thank you for your help

I'm closing the subject, apparently among my research it's impossible:)