sakinen Posted June 18, 2009 Posted June 18, 2009 I have a delicate question about dynamic block parameters. Is there a way that i can extract parameter values for a block in spreadsheet manipulate it, and then return the values, thus changing the block (length). I know there is no alternative in standard cad tools. I am searching for a way in lisp or vlisp. Some ideas please.... Quote
ReMark Posted June 18, 2009 Posted June 18, 2009 Check out this thread posted in the AUGI discussion forums. It might at least get you started: http://forums.augi.com/showthread.php?t=35499 Quote
dbroada Posted June 18, 2009 Posted June 18, 2009 I have used VBA to force distance values within dynamic blocks but can't remember where I have stored the code. I *think* I posted some code examples when trying to help chulse draw some of his expanding trees but I can't be certain. In other words, I know it is possible in VBA so assume it would be possible in LSIP too. Quote
Danse_Macabre Posted June 18, 2009 Posted June 18, 2009 I have done it before without using LISP. If you have express tools installed you can go to Express > Blocks > Export Attribute Information. Cad will export the attribute information to a .txt file. You can either edit this file or copy it into excel for editing. When you are done go back to Express > Blocks > Import Attribute Information > Select the .txt file you edited. Quote
dbroada Posted June 18, 2009 Posted June 18, 2009 I have never tried this so does the importing of the attributes set the parameter size or just update the attribute value? Quote
sakinen Posted June 18, 2009 Author Posted June 18, 2009 It sets the parameter size. Im not interested so much in attributes. My friend tries to modify attout and attin lisp. to solve this problem. Quote
Danse_Macabre Posted June 18, 2009 Posted June 18, 2009 It just updates the attribure value. I guess I missed what was actually being asked for. Quote
dbroada Posted June 18, 2009 Posted June 18, 2009 It just updates the attribure value. I guess I missed what was actually being asked for. you are not alone - some people are better than others at it though Quote
igipop1981 Posted June 19, 2009 Posted June 19, 2009 to see what people do...and i lost an hour trying to make a rectangular shape strech to the right and - failed so far.. i can see i'll be spending a LOT of time here Quote
dbroada Posted June 23, 2009 Posted June 23, 2009 I know this thread has slipped down the list but I stumbled across my previous efforts today. See if there is anything useful in this thread... http://www.cadtutor.net/forum/showthread.php?t=19238 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.