Jump to content
Developer Wiki and Function Reference Links ×

Trap Reshape use in event driven PIO


Recommended Posts

I have various path based event driven path type plugins. I want to run some code once "Reshape Tool" is activated. Is there any event I can check?

I can check if the user has entered/exited path editing via say double clicking with the following code (tested on a 3D path plugin):

 

    kObjOnAddState: begin{44}
      if vsoStateGetExitGroup(pioH,grptype) then begin
        eventmsg := vsoStateAddCurrent(pioH, eventmsg);
        {eventmsg = 0}
        {grptype = 2 = kObjXPropEditGroupPath }
        if (grptype = 2) then dosomething(pioH);
      end;
    end;

 

TIA

 

 

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...