MikeS Posted December 22, 2010 Posted December 22, 2010 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? Quote
karl Posted December 23, 2010 Posted December 23, 2010 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 Quote
MikeS Posted December 24, 2010 Author Posted December 24, 2010 I don't suppose you have any sample code showing how you modify the block to match user input? Quote
karl Posted December 27, 2010 Posted December 27, 2010 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 Quote
Recommended Posts
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.