←  Technical Questions

nanoCAD forum

»

How to add a command

jaise's Photo jaise 19 Jun 2014

I want to add command "matchproperties" as "ma" in command prompt.

How can i do it?
Quote

SevaM's Photo SevaM 19 Jun 2014

Hello,

you can edit nCad.pgp file in nanoCAD folder.

Add to [\Aliases] section new alias for MATCHPROP command

MA=sMATCHPROP

Best regards,
Seva
Quote

jaise's Photo jaise 20 Jun 2014

thanks for swift response.

:)
Quote

aser dela cruz's Photo aser dela cruz 07 Aug 2014

I cannot edit nCad.pgp. I just want to add
MA=sMATCHPROP
ALIGN=sALIGN
LE=sQUICKLEADER

When I Save it, it said access denied.

what coding I will use.

Please help ASAP.
Quote

Hellen_V's Photo Hellen_V 07 Aug 2014

You need to have administrator privileges to edit this file.
Quote

Teemu Antila's Photo Teemu Antila 08 Jun 2017

I am administrator at the computer but can't open this file as administrator any way. Can anyone help?
Quote

Hellen_V's Photo Hellen_V 09 Jun 2017

does Windows forbids you to open this file?
Or it cannot recognize file format? - at this case open file with text editor, for example, Notepad
Quote

Teemu Antila's Photo Teemu Antila 09 Jun 2017

I can open the file, but same thing as above i can't save it.
Quote

Hellen_V's Photo Hellen_V 09 Jun 2017

it means that you haven't administrative privileges.
Try to save this file to other folder, then move it to nanoCAD folder.
Quote

Teemu Antila's Photo Teemu Antila 12 Jun 2017

That worked, thanks a lot!
Quote