Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to create a macro in the tool palette to rotate the active viewport by -90 degrees, but unfortunately it doesn't work like that and I don't get anywhere, where is the error or is there a better way to create the command for English and German as a macro? The main problem is the _R / Rotate subcommand in _MVSETUP;_A;_R:0,0,0;-90, because unfortunately it doesn't exist, as with the other parameters?
(setq v (vl-registry-read (strcat "HKEY_LOCAL_MACHINE"(chr 92)(vlax-product-key)) "Language"))(if (= v "Deutsch")(command "_MVSETUP" "_A" "D" "0,0,0" "-90" "")(command "_MVSETUP" "_A" "R" "0,0,0" "-90" ""))
_MVSETUP;_A;(setq v (vl-registry-read (strcat "HKEY_LOCAL_MACHINE"(chr 92)(vlax-product-key)) "Language"))(if (= v "Deutsch")(command "D")(command "R"));0,0,0;-90;
Greetings,
Philipp
Solved! Go to Solution.