[solved] Can't enter MD or MZ on my command line

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
User avatar
DaleEltoft
Active Member
Posts: 37
Joined: Tue Jun 29, 2021 1:23 am
Location: Creedmoor, NC USA

[solved] Can't enter MD or MZ on my command line

Post by DaleEltoft » Sat Jun 24, 2023 1:55 am

I'm not a power user so I don't often use the command line for other than entering coordinates. As part of another question I was recommended to enter the MD command. QCAD was not please with me. Instead I found the function in the menus so all good. However, I'm wondering if this is my mistake or a bug?
tt.png
tt.png (11.3 KiB) Viewed 5224 times
t.png
t.png (27.51 KiB) Viewed 5224 times
Last edited by DaleEltoft on Sat Jun 24, 2023 4:59 pm, edited 1 time in total.

CVH
Premier Member
Posts: 4959
Joined: Wed Sep 27, 2017 4:17 pm

Re: Can't enter MD or MZ on my command line

Post by CVH » Sat Jun 24, 2023 6:39 am

DaleEltoft,

MD and MZ are keyboard shortcuts.
Shortcuts are 2(3) letter key-in that you can use almost wherever the focus is.
Just type the 'M' key and then the 'D' or the 'Z' key.

Shortcuts use capital letters but you just use the keyboard key and thus not with the Shift key pressed.
If that is required then it is mentioned e.g.: Print Preview (Ctrl+Shift+P)
See: https://www.ribbonsoft.com/archives/sho ... uts_en.pdf

After typing MD with the focus on the drawing area you will see that the command in the Command History is 'duplicates'.
That is the same when activating it with the Modify Toolbar button or with the Modify menu tool button.

Most common drawing tools have a command that is identical to the shortcut.
That is not the case for these tools, see: App.Prefs. .. General .. Tool settings.

And sometimes it is conflicting:
Draw .. Line .. Line from 2 Points:
  • - Shortcuts: LI
    - Commands: 'line' ; 'ln' ; 'li' ; 'l'
Draw .. Line .. Orthogonal/Tangent:
  • - Shortcuts: LN
    - Commands: 'lineorthogonaltangent' ; 'orthotangent'
One can not use the command 'ln' for the latter because that is taken by Line from 2 Points. :roll:
(BTW: You don't see me entering the commands of this tools in the Command Line :wink: )

Bottom line: In general you don't enter the key-in shortcut in the Command Line.

Regards,
CVH

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 5054
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: [solved] Can't enter MD or MZ on my command line

Post by Husky » Sat Jun 24, 2023 9:22 pm

DaleEltoft wrote:
Sat Jun 24, 2023 1:55 am
I'm not a power user so I don't often use the command line for other than entering coordinates.
Ok, "power user" is probably debatable but despite that fact, and as I have learned in previous post, you are making quality drawings! Respect!
DaleEltoft wrote:
Sat Jun 24, 2023 1:55 am
As part of another question I was recommended to enter the MD command. QCAD was not please with me.
MD and MZ are shortcuts meant to be used in Model_Space. The Model_Space has to be in focus what can be achieved with a mouse click on the drawing canvas. If Model_Space is active just hit MD or MZ and it will work.

Command Line is just an alternative input option. Sometimes the commands have the same name like the shortcut, sometimes not ... :wink:
Work smart, not hard: QCad Pro
QcadPro, QcadCam, Win11/64, 64GB RAM, 10-Core, SSD
If a thread is considered as "solved" pls. change the title of the 1. post to "[solved] Title..."

User avatar
DaleEltoft
Active Member
Posts: 37
Joined: Tue Jun 29, 2021 1:23 am
Location: Creedmoor, NC USA

Re: [solved] Can't enter MD or MZ on my command line

Post by DaleEltoft » Sun Jun 25, 2023 3:03 am

I have to chuckle at myself. I'd seen the shortcuts mentioned but didn't want to jump down that rabbit hole. I've come to really appreciate the command line for entering coordinates and just jumped to the conclusion that everything was entered there. When using the keyboard with most other apps the text appears somewhere. It is kind of spooky to just type shortcuts into QCAD with no destination. I'm doing volunteer CAD work and have really come to enjoy working with QCAD until way past bedtime.

Post Reply

Return to “QCAD 'How Do I' Questions”