Jump to content
Developer Wiki and Function Reference Links ×

SDK: Eyedropper support of PIOs - How?


Stefan Bender

Recommended Posts

How can PIOs know the current settings of the eyedropper tool so they can support the tool?

I see two functions

 

// Eyedropper notifies that it is going to put the record 'hObjRecordCopy' as record for the current parametric object
            // In this event the object can alter the copy to ensure correct data transfer (the data has already been copied to the record)
            // NOTE! This object's record is still in place when this event is called
            virtual void            OnEyedropperPrepareCopy(MCObjectHandle hObjRecordCopy);
            // Eyedropper notification that has finished with copying this object
            virtual void            OnEyedropperAfterCopy(MCObjectHandle srcObject);

 

in VWParametricEventSink that allow the PIOs to do something before and after copying, but how can the PIOs know which of the options of the eyedropper tool are set? Imho some data type "EyedropperToolPreferences" should be passed to these functions so the PIOs can react accordingly.

 

Or is there another way for the PIOs to support the eyedropper tool?

 

 

 

Thanks for any help,

 

Stefan Bender

 

Link to comment
  • 2 weeks later...

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