PDA

View Full Version : Script-created Tape helper not selectable ?


kachoudas
03-23-2005, 12:17 PM
Hello guys,

I am creating Tape objects via a script. It works fine, except that the tape object can't be selected by mouse click or drag, nor the line between the tape and its target.

Selecting by name works fine.
Selecting the target by any method works fine, and if I use the same script to create a Target camera, everythnig is all right.

Helpers are neither hidden nor filtered.

Here is my code - very basic
tapeName = "tape_name"
targ= targetObject name:(tapeName+".Target")
tap= tape name:tapeName target:targ

Did I misundertood something about the way targeted objects work ?

Thanks for your help.
Jerome

ofer_z
03-23-2005, 02:43 PM
Did I misundertood something about the way targeted objects work ?


I don't think so, it seems your code should work fine. this looks like a bug.
perhaps bobo has some insight...

Bobo
03-23-2005, 03:14 PM
I don't think so, it seems your code should work fine. this looks like a bug.
perhaps bobo has some insight...

Looks ike a bug to me.
Same problem in max 5,6 and 7.
I am pretty sure it used to work back in R2 ;)

kachoudas
03-24-2005, 11:14 AM
Thanks. I guess it's not so much important that I would need to switch back to R2...

Yorgo12345
03-25-2005, 04:11 PM
I had the same problem with the tape measure,

I finally got around it by creating an spline with an IK modifier on it, and just using the getLength of spline as a substitute tape measure.

although, come to think of it, you could just use the distance command....[laughing at myself]

CGTalk Moderation
03-25-2005, 04:11 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.