Notifications
Clear all

[Closed] Object Properties 2.0

I’m confused as to why the undo system doesn’t work for everything?

What is wrong with this?

with redraw off 
(
	undo "test" on
		for o in selection where superclassof o != light do setproperty o "isGIExcluded" true
)

i’ve looked at new code… is it undoable now? if so, the #1 goes away.

i saw an undo problem in the tool previous versions. max’s property set is undoable. if you extend the max functionality you must keep all original features. that’s kinda a rule.

You can undo everything on the Objects Properties page, but for the Adv Lighting and Mental Ray, User Buffer and VRay the undo system doesn’t seem to catch the change that happens. The code is the same for all the pages… In the example above I’ve chosen one property from the Adv Lighting tab and it doesn’t create an undo entry, is there something I’m missing?

if it’s not undoable by the system you can do nothing. just boooooooo the max and its third parties.

Make a new object and try these two… one will make an undo entry.

Works

(
	with redraw off
	(
		local s = ("Object Properties - ")
		undo s on 
			for o in selection do setproperty o "renderable" false
	)
)

Doesn’t work.

(
	with redraw off
	(
		local s = ("Object Properties - ")
		undo s on 
			for o in selection do setproperty o "isGIexcluded" true
	)
)

New version with Searching in the maxscript tab.

http://forums.cgsociety.org/attachment.php?attachmentid=168907

Page 2 / 2