Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Overkill - command line version problem

2 REPLIES 2
Reply
Message 1 of 3
EKey
1307 Views, 2 Replies

Overkill - command line version problem

The message was moved from general AutoCAD 2012 discussion group.

 

Hello,

 

The OVERKILL command has a command line version: -OVERKILL. One of the options of it is "IGNORE". I enter the option and get the prompt:

[None/All/ Color/LAyer/Ltype/ ltScale/LWeight/Thickness/TRansparency/plotSTyle/Material] <Plotstyle>:

 

Here I have a problem. I need to enter a number of choices, e.g. LWeight and Thickness. I can't find a way to do that.

It worked in previous AutoCAD versions. I could enter options demilited with comma and the command accepted all of them. But it doesn't work for AutoCAD 2012.

What can I do to enter a number of the "Ignore" options?

 

I would be appreciated for any help.

Thank you.

E.K.

 

2 REPLIES 2
Message 2 of 3
pbejse
in reply to: EKey


@EKey wrote:

The message was moved from general AutoCAD 2012 discussion group.

 

Hello,

 

The OVERKILL command has a command line version: -OVERKILL. One of the options of it is "IGNORE". I enter the option and get the prompt:

[None/All/ Color/LAyer/Ltype/ ltScale/LWeight/Thickness/TRansparency/plotSTyle/Material] <Plotstyle>:

 

Here I have a problem. I need to enter a number of choices, e.g. LWeight and Thickness. I can't find a way to do that.

It worked in previous AutoCAD versions. I could enter options demilited with comma and the command accepted all of them. But it doesn't work for AutoCAD 2012.

What can I do to enter a number of the "Ignore" options?

 

I would be appreciated for any help.

Thank you.

E.K.

 


What works if not comma delimited option names? 

Dont have 2012, but in lower versions it works like so

 

(defun c:Test  (/ ss)
      (if (setq ss (ssget ))
            (progn (sssetfirst nil ss)
                   (vla-sendcommand
                         (cond (aDoc)
                               ((setq aDoc
                                           (vla-get-activedocument
                                                 (vlax-get-acad-object))))
                               )
                         "-OVERKILL IGNORE LWeight,Layer  "
                         )
                   )
            )
      (princ)
      )

 

 

Previous -OVERKILL versions show this (2009 Express Tools)

 

[layer,ltype,color,lweight,plotstyle, * (for all)] or "." for none <default>: 

 

You can try and change LWeight,Layer to LWeight,Thickness in the code above and see if it works for you.

 

Message 3 of 3
EKey
in reply to: pbejse

 

Previous -OVERKILL versions show this (2009 Express Tools)

 

[layer,ltype,color,lweight,plotstyle, * (for all)] or "." for none <default>: 

 


Thank you for response.

Yes, it worked when the OVERKILL command was a part of  Express Tools. But for AutoCAD 2012 the OVERKILL command is native. It was redesigned and behaves differently is the way that IGNORE options do not work, for me and for now at least.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost