Substance Painter
In this start to finish texturing project within Substance Painter we cover all the techniques you need to texture the robot character.
# 1 09-10-2016 , 08:32 PM
Registered User
Join Date: Oct 2016
Posts: 2

Change Event for Scene?

Hi,
I have a list that I want to update when objects have been added or deleted from the Maya scene.

Is there some kind of global event or perhaps an Outliner event that fires when a change like this happens?

I found the scriptJob event "DagObjectCreated" for when an object is added but I can't find the equivalent for when an object is removed.

I am working in PyMel. Thank you! user added image


Last edited by blastframe; 09-10-2016 at 08:44 PM.
# 2 12-10-2016 , 02:30 PM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,518
All available conditions aren't listed in the help docs for whatever reason. But if you run:

Code:
scriptJob -listConditions;
It'll show everything and "delete" is probably what you're looking for.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads