View Full Version : Custom Attributes and Event Handlers

03 March 2006, 07:15 PM
Hi All,

I'm attempting to make a tool for placing and controlling a bunch of objects in a ine. I wanted to extend the tape helper but was unable to get that to work(?).

My current solution is to add a custom attribute to the tape helper with a button for placing the objects. I've got that working but now i would like to handle the event in which the tape object is moved or its target is moved (so that I can move the row of objects with it).

So my question is: How do i handle the event of say a tape helpers target being moved? I tried using the when construct but it seems I need the object to already be in the scene to register the handler. Is there a way to make it more general?

03 March 2006, 08:04 PM
Look up callBacks in the help or can't you jsut have the objects on position constraints between the tape and it's target?

CGTalk Moderation
03 March 2006, 08:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.