Powermill process still running in the background after closing

Powermill process still running in the background after closing

huyc2GQZL
Contributor Contributor
944 Views
2 Replies
Message 1 of 3

Powermill process still running in the background after closing

huyc2GQZL
Contributor
Contributor

After closing Powermill, I can see in the system resource manager that a process called Powermill.exe is still running and occupying memory (see image below).

The plugin I developed needs to release some resources after Powermill is closed, but I can’t capture the closing event.

Can anyone help me?

Thank you.

huyc2GQZL_0-1683275001799.png

 

0 Likes
Accepted solutions (1)
945 Views
2 Replies
Replies (2)
Message 2 of 3

luke.edwards.autodesk
Community Manager
Community Manager
Accepted solution

Hi, if you are using the PluginFramework and inheriting/implementing "PluginFrameworkWithPanes, IProductInterface" then you can implement the shutdown_framework operation and use this to clear up your resources.

 

Hope this helps...


Luke Edwards
Consulting Services Manager
Message 3 of 3

huyc2GQZL
Contributor
Contributor

Thankfully, I inherited the "shutdown_framework" function to solve this problem

Thanks again

0 Likes