cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

mapkey to turn all layers on or off in Widlfire 3.0...

PAULKORENKIEWIC
1-Newbie

mapkey to turn all layers on or off in Widlfire 3.0...

Guru's,

I'm trying to "fix" our 2001 mapkeys that turn all layers on and off so
they work in Wildfire 3.0. Currently they only work in Wildfire 3.0 IF
I have the layer window shown, and not the model tree. So I thought all
I need to do was to add a section to the front and back of our old
mapkeys, turning on the layer window at the start, and then turning the
model tree back on at the end. Nope... I've tried a few different
ways, and can't seem to get it to work. I made mapkeys to toggle the
display from model tree to layers and back, and those seem to work just
fine. It's just when I put them into my "turn all layers on/off"
mapkeys that nothing happened. So I thought, well, I'll just start over
and record a new mapkey. I got as far as trying to select all the
layers! In 2001 there was a simple, single button to select all the
layers, I can't find this in Wildfire 3.0. Anyone got any suggestions?

For the record, these are our existing mapkeys that work just fine if
the layer window is displayed:
!===========================================================
! FEV : TURN ALL LAYERS ON
!===========================================================
mapkey lo @MAPKEY_NAMEall layers on;@MAPKEY_LABELlayers on;\
mapkey(continued) ~ Select `main_dlg_cur` `PHTLeft.PHLayerUI.AssyTree`1
`node0`;\
mapkey(continued) ~ PopupOver `main_dlg_cur` `LayerActionMenu`1
`PHTLeft.PHLayerUI.AssyTree`;\
mapkey(continued) ~ Open `main_dlg_cur` `LayerActionMenu`;\
mapkey(continued) ~ Close `main_dlg_cur` `LayerActionMenu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ActionMenuLayerShow`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdViewRepaint.view`;

!===========================================================
! FEV : TURN ALL LAYERS OFF "NO LAYERS"
!===========================================================
mapkey nl @MAPKEY_NAMEall layers off;@MAPKEY_LABELno layers;\
mapkey(continued) ~ Select `main_dlg_cur` `PHTLeft.PHLayerUI.AssyTree`1
`node0`;\
mapkey(continued) ~ PopupOver `main_dlg_cur` `LayerActionMenu`1
`PHTLeft.PHLayerUI.AssyTree`;\
mapkey(continued) ~ Open `main_dlg_cur` `LayerActionMenu`;\
mapkey(continued) ~ Close `main_dlg_cur` `LayerActionMenu`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ActionMenuLayerBlank`;\
mapkey(continued) ~ Activate `main_dlg_cur` `ProCmdViewRepaint.view`;


thanks in advance...

Paul Korenkiewicz
FEV Engine Technology
4554 Glenmeade
Auburn Hills, MI, 48326



0 REPLIES 0
Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags