Using PowerMILLAndPowerShapeAPI to Subscribe the toolpath activated event?

Using PowerMILLAndPowerShapeAPI to Subscribe the toolpath activated event?

hx
Advocate Advocate
839 Views
4 Replies
Message 1 of 5

Using PowerMILLAndPowerShapeAPI to Subscribe the toolpath activated event?

hx
Advocate
Advocate

Can use the api to subscribe the entity event, such as the toolpath activated.

I mean not the plugin class, just the PowerMILLAndPowerShapeAPI to subscribe event?

0 Likes
840 Views
4 Replies
Replies (4)
Message 2 of 5

luc_ponsaerts
Advocate
Advocate

What do you mean by "Subscribe" ?

 

0 Likes
Message 3 of 5

hx
Advocate
Advocate

If one toolpath changed activation status in PowerMILL , It raise event to tell API , The toolpath is activation

0 Likes
Message 4 of 5

luc_ponsaerts
Advocate
Advocate

If I understand this topic well: the toolpath property Isactive is doing that.

Ex. tp.Isactive

Can be used to activate a toolpath, as well as to read the status of a toolpath.

0 Likes
Message 5 of 5

hx
Advocate
Advocate

I'm sorry, maybe I didn't describe it very clearly.

 

1- The Toolpath was not activation.
2- User Double Click the Toolpath To Activate
3- Now, Need tell the form the Toolpath is chang to activate, you need to do some thing.

 

001.png

 

Just like the plugin app event.

 

002.png

0 Likes