Jump to content

Running a lisp Command from VBA with a pause


metal_pro

Recommended Posts

I have a lisp command that I use to insert blocks (either Dynamic or regular)

(C:BBREAK) it asks for an insertion point on a line, then block name, then if its a dynamic block whats the visibility parameter value. Then it inserts the block and breaks the line out based on an attribute value in the block.

Typical macro usage looks like this for a dynamic block EB020.dwg with visibility parameter "NO"

bbreak;\EB020;y;NO;

 

My problem is I would like to run this lisp program from VBA also

I thought I could use ThisDrawing.SendCommand but how do I pause for user input of the insertion point on a line.

Link to comment
Share on other sites

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