Jump to content

Recommended Posts

Posted

I have a block that is a lot like a Multileader, in that the body of the Block requires a different insertion point than the the leader end. I am inserting this block using VBA, as there are a number form inputs that populate the block attributes.

 

Can I design the block so that I am prompted separately for the "body" and "leader" insertion points?

 

If so, does anyone have an example of how to do this multi-point insertion in VBA?

Posted

hi,

dynblocks, like regular blocks, have only one insertion point.

if i need multiple user points, i have the code ask for a first point, then the next point (sometimes with a "rubber band" to help mark the first point). after i have all relevant input, then i insert the block, then modify the block to conform to user input.

 

karl

Posted

I don't suppose you have any sample code showing how you modify the block to match user input?

Posted

hey mike,

modifing dynblocks is not possible with regular autolisp.

you need visual lisp (which i've not dug into yet). i have snagged code from another guy who is good but..., the augi website deleted his old links and i cannot give another's code without permission. his name is mark douglas (code from july 2005).

 

karl

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