(Maxscript) How to check if property writable or read-ony?


Hi guy. As the title, can someone help me? Thank you in advanced


Perhaps you can simply parse it out of the showProperties output like this:

fn IsReadOnlyProp obj prop =
	local ss = StringStream ""
	showProperties obj prop to:ss
	local str = ss as string
	free ss
	MatchPattern str pattern:"*read-only*"