Enable/Disable Plugin via macro

Michaelangelo631
Advocate

Enable/Disable Plugin via macro

Michaelangelo631
Advocate
Advocate

Hi,

 

Does anyone know if you can disable/enable powermill plugins via macro.  For some odd reason it takes a long time on startup when trying to load my NCSimul plugin.  This is the only plugin I have currently enabled.  Once I disable this in the options and restart pmill everything opens fine and quickly.  Once pmill is running and I go to the options to enable that plugin, it enables very quickly without the long lag.  My thinking was that I would keep that plugin disabled in the settings and be able to toggle it on and off via macro as needed.  Your feedback is much appreciated.

 

Regards,

Mike

0 Likes
Reply
Accepted solutions (1)
602 Views
2 Replies
Replies (2)

5axes
Advisor
Advisor
Accepted solution

yes with the command :

PLUGIN MANAGER ENABLE "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"
PLUGIN MANAGER DISABLE "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"

you just need to get the UID of the plugin via the Class ID of your PLUGIN 

0 Likes

Michaelangelo631
Advocate
Advocate

Worked like a charm!  Thanks @5axes for the help.

 

Regards,

Mike