Question
mapkeys with View Manager - overwrite existing view?
I have a question regarding using mapkeys with View Manager (we're in WF3).
I have a mapkey that saves the current view as "V1" and another mapkey that
orients the model to saved view "V1". So far, so good. However, the issue
crops up when the model already has a view called "V1" and I try to run the
create view V1 mapkey. When this happens, it tries to create a new view
called View001, and since my mapkey includes the "OK" to close the View
Manager box, I get a confirmation asking "Abort view creation and exit?" Is
it possible, using mapkeys, to create a smart one that overwrites V1 if it
is present, or creates it from scratch if it's not? Right now my workaround
is to have two different mapkeys for creation of V1, one if it's already
present, one if it's not. I'd like to simplify that down to one.
I have a feeling what I want to do is only available by creating a toolkit
or jlink app; hopefully I'm wrong.
Thank you.
--
Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>
I have a mapkey that saves the current view as "V1" and another mapkey that
orients the model to saved view "V1". So far, so good. However, the issue
crops up when the model already has a view called "V1" and I try to run the
create view V1 mapkey. When this happens, it tries to create a new view
called View001, and since my mapkey includes the "OK" to close the View
Manager box, I get a confirmation asking "Abort view creation and exit?" Is
it possible, using mapkeys, to create a smart one that overwrites V1 if it
is present, or creates it from scratch if it's not? Right now my workaround
is to have two different mapkeys for creation of V1, one if it's already
present, one if it's not. I'd like to simplify that down to one.
I have a feeling what I want to do is only available by creating a toolkit
or jlink app; hopefully I'm wrong.
Thank you.
--
Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>

