AutoCAD/Macros

Advertisement


Question
Hi Scott

I did not see a space before the macro, but the command line showed the following after I run it:

Enter name list of layer(s) for color 7 (white) <B-BDR-ALL>: B-BDR-ALL
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]: (command "filedia "1) filedia
Invalid option keyword.
; error: Function cancelled
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile]:

Thanks
Jon

Answer
Jon, it looks like maybe your LAYERS.SCR needs one more space at the end.

The (command "filedia" 1) is trying to turn your dialog boxes back on, but it is appearing in the middle of the layers command.

From what you show, the script is still waiting for input.

An extra space at the end should fix the LAYERS.SCR and then your macro should run smoothly.

Scott

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scott Wilcox

Expertise

I have been using AutoCAD since R11, and can answer questions regarding general AutoCAD, menus, toolbars, fonts, linetypes, plotting, CUI, Some Civil 3D

Experience

23 years AutoCAD user (R11- R2015), AUGI Director

Organizations
AUGI

Publications
CADALYST

Education/Credentials
Instructor @ Alberta School of Drafting

©2016 About.com. All rights reserved.