Notifications
Clear all

[Closed] object not selectable /no freeze/callback

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.

5 Replies

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?

as i understand he wants to make an object “unselectable” without freezing it…

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.

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

Sripted controller is a good idea, I will look into it. Thanks.