PDA

View Full Version : object not selectable /no freeze/callback


losbellos
03-26-2009, 02:26 PM
Hello,
I am wondering is there a special state of an object where it is not selectable and only modifiable from script. The particular object is a spline.
Do anyone knows a solution for this, except freezing it or checkin that the picked object is the objects which shouldnt be selected.
Thank you very much.

ZeBoxx2
03-26-2009, 02:38 PM
an expression or script controller might be governing what you're trying to change.. what -are- you trying to change?

sounds curious, either way. Perhaps you can Save Selected it for us to peruse?

spacefrog
03-26-2009, 03:19 PM
as i understand he wants to make an object "unselectable" without freezing it...

losbellos
03-26-2009, 03:55 PM
yes, an object strictly for viewing purpose.
I have a spline, I would like to have an offseted version to view after every change of the original spline.
Everything is done, I just want to make sure the user wont be able to alter any way the offseted spline. I know I can check for the object and move it back etc, but I would like if there a simpler solution.

ZeBoxx2
03-26-2009, 07:40 PM
ohh.. I thought you -had- an object that, etc. and you wanted to 'fix' it.

Well the solution is pretty much the reverse, I reckon.. you'd have to make a copy that you'd limit by means of e.g. a script controller. Won't stop selection - for that you'd have to use a general event callback or node event system callback, and de-select the object when it's selected by the user.

Freezing the object is certainly easier :>

losbellos
03-27-2009, 05:46 AM
Sripted controller is a good idea, I will look into it. Thanks.

CGTalk Moderation
03-27-2009, 05:46 AM
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.