Notifications
Clear all

[Closed] Unremovable node?

Hi,

So is there some way to create an unremovable node from the scene? A node that a user cannot delete by a mistake. Yeah I can make it hidden and frozen. But still a user can select this node. Maybe some unselectable node? Is that even possible?

7 Replies
2 Replies
(@vusta)
Joined: 10 months ago

Posts: 0

does this user need to be told “Don’t run with scissors” as well ?

 lo1
(@lo1)
Joined: 10 months ago

Posts: 0

I know some users that run with chainsaws.

there is a way to make a node invisible to any built-in max interface…

but this node still remains deletable.

THERE IS NO 100% TRUE WAY TO MAKE A NODE NOT DELETABLE!

And what is the way? Is that secret enough to share or not?

My other thinking is to maybe use sdk and make my own class. But since I never used sdk im not sure if its even worth it or possible. is it? or this might be another loop in a hole, like just all maxscript?

this is not a secret… a question about “non-killable” max node is being asked every year

to make ‘invisible’ node you have to make a node (object) with class id #(…, 0x1eb34200)

try to search this forum for 0x1eb34200 or 515064320. I’ve posted some examples on this forum

Now is about UNDELETABLE…

As i said – NO WAY! neither SDK or anything else. There is a MYTH about someone who found a way… NO!!! it’s a myth only

Here is a bad way to do it (kind of but not really):

myTeapot = teapot(); -- creates an "undeletable" teapot
fn check_if_sel_fn = (
	deselect myTeapot;
);
callbacks.removeScripts id:#chk_if_sel -- run this line of code to stop/remove the script
callbacks.addScript #selectionSetChanged " check_if_sel_fn()" id:#chk_if_sel

using SDK it’s possible to make ‘unselectable’ node. but it’s not a point. user can delete a node using many ways without selection