Jump to content
Developer Wiki and Function Reference Links ×

Last Command Data


Shubham Joshi

Recommended Posts

2 hours ago, Shubham Joshi said:

Hello Everyone,

 

I want to get the data of last command pressed or last tool fire in vw.

Is there any API?

can I get the last command response?

or any other way.

 

Thanks and Regards

I do not think that it is possible.

 

One way is perhaps use notifications to be notified what is happening currently in VW, but I am not sure if you could achieve what you want through the notification mechanism. (I know too few of it to know its full potential.)

  • Like 1
Link to comment

You can use UpdateSupport to respond to certain kinds of events, but you can't generically track commands, for example to make your own "repeat last" menu command.

If you want to track commands in your own library, I think that's possible — create a singleton interface and have each menu or tool report it's action to that interface. 

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...