NETLOAD and ^P

NETLOAD and ^P

Ertqwa
Advocate Advocate
1,476 Views
3 Replies
Message 1 of 4

NETLOAD and ^P

Ertqwa
Advocate
Advocate

Hello forum,

 

I'm guessing an easy question, but can't find an answer.

If I use NETLOAD in a macro between ^P's, I still see "NETLOAD Assembly file name: ..." in the text window, and then a 'nil' on the next line:

 

Macro:

^C^C^P(command "NETLOAD" "MyLibrary.dll")^P;MyCommand

 

Is there a way to supress the text and the nil in AutoCAD's text window, using NETLOAD?

 

Thank you.

 

 

 

0 Likes
1,477 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Simple, don't use NETLOAD 🙂

 

Use this utility to demand load your net app, should solve your problem.

 

HomeBoy Out

0 Likes
Message 3 of 4

chiefbraincloud
Collaborator
Collaborator

Turn CMDECHO off (0), that got rid of exerything but the "nil"

 

If you use VL-CMDF instead of COMMAND it will return T instead of nil

 

For whatever reason, when I call NETLOAD from a MNL (menu lisp) file, none of it shows up (with CMDECHO = 0).  I don't even toggle the MENUECHO setting.

 

Just to make sure you realize, ^P is a TOGGLE, which means that if the user already has it set to suppress the echo, the your button will override that and make it echo.

Dave O.                                                                  Sig-Logos32.png
0 Likes
Message 4 of 4

Ertqwa
Advocate
Advocate

Great, thanks I will try it!

0 Likes