Jump to content

Is there a lisp to run the mirror command or to be used as a substitute for it?


Recommended Posts

Posted

I want to use bn short command to mirror objects, but I do not want to change the current short cut for the command, so I need another command to mirror objects or a lisp that would run the mirror command. Thanks in advance.

Posted

What do you want it to do differently than the Mirror command?

What does "bn" mean?

Posted
1 hour ago, tombu said:

What do you want it to do differently than the Mirror command?

What does "bn" mean?

 

I mean the mirror command in AutoCAD, and want to use bn as a short cut command ro run a lisp to mirror objects.

Posted

Our default shortcut for the mirror command is "MI".

It's set in the Express Tool ALIASEDIT or 'Command Aliases' in the Ribbon.

Sort by AutoCAD Command and scroll down to MIRROR to see what your default shortcut is.

  • Like 1
Posted
(defun c:bn ( / )
  (command "mirror" pause pause pause pause)
)

 

 

?

  • Like 2
Posted

You can simply use (mirror3d) function as a part of (geom3d.arx) extension for lisp...

This picture is from documentation...

 

image.png.d09df6ddab12e0ec87a09be0ac2e2a98.png

  • Like 1
Posted

id remove the pauses StevenP

 

(defun C:BN ()
  (command "_.Mirror")
)

 

or duolicate the comand in the cui with BN as the shortcut

  • Like 1
  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...