Go to: Synopsis. Return value. Keywords. MEL examples.
checkDefaultRenderGlobals [string]
checkDefaultRenderGlobals is NOT undoable, queryable, and editable.
To query whether or not the defaultRenderGlobals node has been modified since the last file save, use `ls -modified`. To force the scene to be dirty/clean use `file -modified`None
In query mode, return type is based on queried flag.
// checkDefaultRenderGlobals -q -changed can be replaced with a call to ls -modified as follows: string $nodes[] = `ls -modified`; for( $n in $nodes ) { if( $n == 'defaultRenderGlobals') { // Do something... } } // To mark the entire scene dirty file -modified 1; // To mark the entire scene clean file -modified 0;