Changing Layers (up or down) and have the LightTable Follow
Posted: 22 Oct 2010, 22:22
When shifting between layers I was thinking it might be convenient to have the LightTable follow me to the new Layer and at the same time turn the LightTable off for All OTHER LAYERS.
So I wrote two scripts that check IF the LightTable is on for the current layer... then, ONLY IF ON, it turns the LightTable off for the current layer and OFF FOR ALL OTHER LAYERS TOO, then shifts up or down to the next layer and turns the LightTable ON for ONLY that layer.
I use these buttons in the shortcut list in place of the default Layer:GoUp and Layer:GoDown actions.
If you want to try it out just assign these buttons to shortcut keys and you can ensure that ONLY THE CURRENT LAYER'S LIGHTTABLE IS ACTIVE.
BTW, in the scripts (LayerDown-LT.grg and LayerUP-LT.grg) you will see the following line:
If this MessageFlag is set to one, then when shifting to another layer, you will also see a momentary popup message that tells what layer you are moving to: for example, "Moving down to Layer 3/5" or "Moving up to Layer 1/5"
Sven
p.s. One enhancement I'd like see in George is a command that keeps/forces the CURRENT LAYER to be visible in the Layer Panel.
So I wrote two scripts that check IF the LightTable is on for the current layer... then, ONLY IF ON, it turns the LightTable off for the current layer and OFF FOR ALL OTHER LAYERS TOO, then shifts up or down to the next layer and turns the LightTable ON for ONLY that layer.
I use these buttons in the shortcut list in place of the default Layer:GoUp and Layer:GoDown actions.
If you want to try it out just assign these buttons to shortcut keys and you can ensure that ONLY THE CURRENT LAYER'S LIGHTTABLE IS ACTIVE.
BTW, in the scripts (LayerDown-LT.grg and LayerUP-LT.grg) you will see the following line:
Code: Select all
MessageFlag = 0 // Set MessageFlag to 1 to display message and pause
Sven
p.s. One enhancement I'd like see in George is a command that keeps/forces the CURRENT LAYER to be visible in the Layer Panel.