Hi Tig,
thanks for your great help
got almost everything to work again.
I can't see an equivalent for Xray mode...
"Sketchup.send_action 10513" works just fine
one command resists :
Old
cmd = UI::Command.new("Layers") { Sketchup.send_action 21354 }
cmd.large_icon = "CD_ICONS/STANDARD/layers_lg.png"
cmd.small_icon = "CD_ICONS/STANDARD/layers_sm.png"
cmd.tooltip = cmd.status_bar_text = "Show Layers Palette"
gp_cd_standard_tb.add_item(cmd)
New
cmd = UI::Command.new("Layers") { Sketchup.send_action 21032 }
cmd.large_icon = "CD_ICONS/STANDARD/layers_lg.png"
cmd.small_icon = "CD_ICONS/STANDARD/layers_sm.png"
cmd.tooltip = cmd.status_bar_text = "Show Layers Palette"
gp_cd_standard_tb.add_item(cmd)
thanks again -
Uli