Jump to content

Lisp for rotating and exploding while insert the block


Recommended Posts

Posted (edited)

Hi,

I need a lisp code for rotate and explode when insertion of block.

 

Thanks in advance,

 

Edited by gmmdinesh
Posted

Is the user going to be prompted for the name of the block or is it going to be specified as part of the lisp routine?

Posted

These are all options that can be accomplished from the INSERT dialog.

Posted

You could even use Tool Palettes to remove some of the steps if the target block is inserted on a regular basis.

Posted
You could even use Tool Palettes to remove some of the steps if the target block is inserted on a regular basis.

 

Even better.

I feel like tool palettes is such an underused feature.

Posted

But if you wanted to do it with a lisp you can start with something like this

 

(defun c:test ()
 (command "insert" "span" pause "" "" pause "_.explode" "_L")
 )

 

Span is the block name. Make sure to have a support path pointed to where you keep your blocks.

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...