Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
ogs [-rebakeTextures] [-reloadTextures] [-reset]
ogs is NOT undoable, queryable, and NOT editable.
OGS is one of the viewport renderers. As there is a lot of effort involved
in migrating functionality it will evolve over several releases. As it
evolves it is prudent to provide safeguards to get the database back to a
known state. That is the function of this command, similar to how
'dgdirty' is used to restore state to the dependency graph.
In query mode, return type is based on queried flag.
ogs, debug
rebakeTextures, reloadTextures, reset
Long name (short name) |
Argument types |
Properties |
-reset(-r)
|
|
|
|
If used then reset the entire OGS database for all viewports using it.
In query mode the number of viewports that would be affected is returned
but the reset is not actually done.
|
|
-rebakeTextures(-rbt)
|
|
|
|
If used then re-bake all baked textures for OGS.
|
|
-reloadTextures(-rlt)
|
|
|
|
If used then reload all textures for OGS.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Reset the database for all panels running the OGS renderer.
// Returns the list of panels affected.
ogs -reset
// Result: modelPanel1 //