Author Topic: Laydel  (Read 2860 times)

0 Members and 1 Guest are viewing this topic.

Fabricio28

  • Swamp Rat
  • Posts: 670
Laydel
« on: June 13, 2013, 05:00:40 PM »
Hi,

I'd like to change the default option of Laydel command.
After using the command
Do you wish to continue? [Yes/No]  <No>:

I wanna change for yes <Yes>. Is it possible?

Thanks

BlackBox

  • King Gator
  • Posts: 3770
Re: Laydel
« Reply #1 on: June 13, 2013, 05:21:00 PM »
Code - Auto/Visual Lisp: [Select]
  1. (defun c:FOO ()
  2.   (command "._laydel" pause "" "y")
  3.   (princ)
  4. )
  5.  
"How we think determines what we do, and what we do determines what we get."

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Laydel
« Reply #2 on: June 13, 2013, 05:46:54 PM »
Code - Auto/Visual Lisp: [Select]
  1. (defun c:FOO ()
  2.   (command "._laydel" pause "" "y")
  3.   (princ)
  4. )
  5.  

Hi BlackBox
Thank you for replay

Didn't work your code.

BlackBox

  • King Gator
  • Posts: 3770
Re: Laydel
« Reply #3 on: June 13, 2013, 05:49:04 PM »
Code - Auto/Visual Lisp: [Select]
  1. (defun c:FOO ()
  2.   (command "._laydel" pause "" "y")
  3.   (princ)
  4. )
  5.  

Hi BlackBox
Thank you for replay

Didn't work your code.

Works fine here:
Code - Auto/Visual Lisp: [Select]
  1. Command: foo
  2. ._laydel
  3. Select object on layer to delete or [Name]:
  4. Selected layers: FOO.
  5. Select object on layer to delete or [Name/Undo]:
  6. ******** WARNING ********
  7.  
  8. You are about to delete layer "FOO" from this drawing.
  9.  
  10. Do you wish to continue? [Yes/No] <No>: y
  11.  
  12. Deleting layer "FOO".
  13. 1 layer deleted.
  14. Hatch boundary associativity removed.
  15. Hatch boundary associativity removed.
  16.  
"How we think determines what we do, and what we do determines what we get."

Fabricio28

  • Swamp Rat
  • Posts: 670
Re: Laydel
« Reply #4 on: June 13, 2013, 07:50:49 PM »
Whow! Really sorry about that. You were right.

Works fine.

I was in a bit of hurry and I made a mistake. :ugly:

Thank you very much!
 :-D

BlackBox

  • King Gator
  • Posts: 3770
Re: Laydel
« Reply #5 on: June 15, 2013, 02:05:44 AM »
You're welcome; I'm happy to help. :beer:
"How we think determines what we do, and what we do determines what we get."