connect to one of posermill processes using the clsPowerMILLOLE

connect to one of posermill processes using the clsPowerMILLOLE

sk7998.ryu
Explorer Explorer
616 Views
1 Reply
Message 1 of 2

connect to one of posermill processes using the clsPowerMILLOLE

sk7998.ryu
Explorer
Explorer

Is there a way to connect to a specific PowerMill process using the connect() command in clsPowerMILLOLE when there are several processes of PowerMill running?

0 Likes
617 Views
1 Reply
Reply (1)
Message 2 of 2

luke.edwards.autodesk
Community Manager
Community Manager

Hi, this API was deprecated years ago in favour of this one:

https://github.com/Autodesk/PowerShapeAndPowerMillAPI

 

You can consume it into your projects using NuGet. Information on this can be found on this forum.

 

You can then use the PMAutomation class to get a list of running instances. Choose which one you want and call the PMAutomation constructor to connect to it.

 

Hope this helps.


Luke Edwards
Consulting Services Manager
0 Likes