Also .......
Beim Klicken auf Symbole wie Ebenen EIN/AUS, und eben auch Drehmitte EIN/AUS, wird HIN und HER geschaltet.
Ein definiertes EINschalten oder AUSschalten geht so nicht.
Deswegen könnte man in einem Mapkey den Weg gehen über:
#Datei #Optionen #Konfigurationsoptionen #Import/Export #Konfigurationsdatei importieren
Damit man eine Konfig-Datei zum importieren hat, könnte man eine solche kurze, knackige Datei in der ersten Zeile des Mapkeys erzeugen.
Das Ganze könnte dann so ungefähr aussehen:
Code:
mapkey dm @SYSTEMECHO spin_center_display yes > C:\\Temp\\tmp.pro;\
mapkey(continued) ~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Select `main_dlg_cur` `appl_casc`;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdRibbonOptionsDlg` ;\
mapkey(continued) ~ Select `ribbon_options_dialog` `PageSwitcherPageList` 1 `ConfigLayout`;\
mapkey(continued) ~ Select `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Close `ribbon_options_dialog` `ConfigLayout.ImportExportBtn`;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `ConfigLayout.Open`;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `DLG_PREVIEW_POST` `file_open`;\
mapkey(continued) ~ Trail `UI Desktop` `UI Desktop` `PREVIEW_POPUP_TIMER` \
mapkey(continued) `file_open:Ph_list.Filelist:<NULL>`;\
mapkey(continued) ~ Update `file_open` `Inputname` `C:\\Temp\\tmp.pro`;\
mapkey(continued) ~ Command `ProFileSelPushOpen_Standard@context_dlg_open_cmd` ;\
mapkey(continued) ~ Activate `ribbon_options_dialog` `OkPshBtn`;\
mapkey(continued) ~ FocusIn `UITools Msg Dialog Future` `no`;\
mapkey(continued) ~ Activate `UITools Msg Dialog Future` `no`;
Hier würde dann Dein normaler Mapkey weitergehen - mit dem ich mich aber nicht weiter beschäftigt habe ...
Code:
mapkey(continued) ~ Command `ProCmdEnvSpinCntr` 1;\
mapkey(continued) ~ Command `ProCmdViewOrient` ; ~ Select `orient` `SetupOptions` 1 `setup`;\
mapkey(continued) ~ Select `orient` `spincentPH.SpinCentRadio` 1 `PointVertex`;#ON SURFACE;\
mapkey(continued) @PAUSE_FOR_SCREEN_PICK;~ Activate `orient` `OkPB`;
Wenn dieses Vorgehen weiter treiben möchte, dann könnte man dieses große Mapkey in kleinere Mapkeys aufteilen und verketten. So könnte man dann recht viele Mapkeys ziemlich effizient erzeugen.
Oder so ähnlich ...
------------------
Viele Grüße
Uwe Mahner
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP