raj banerjee Posted June 5, 2009 Posted June 5, 2009 hello peeps, I have a "important Health & Safety" notice block which I want to make into a dynamic block. It has the sign at the top of the block the some mtext at the bottom where you can list the hazards. Is there a way for the block to automatically stretch when more hazards are added?? (hope that makes sence) Many thanks Raj Quote
dbroada Posted June 5, 2009 Posted June 5, 2009 you can add a stretch action to a dynamic block but I'm not sure how automatic it can be. Can you post what you already have or at least a screen shot. Quote
Zorg Posted June 5, 2009 Posted June 5, 2009 you can add a stretch action to a dynamic block but I'm not sure how automatic it can be. Can you post what you already have or at least a screen shot. How do you mean? You can stretch it while it is still a block and it will affect only that one block, and stay a block.. or every block that is of the same reference? :s Quote
dbroada Posted June 5, 2009 Posted June 5, 2009 Depends how you do it but usually just the single block. If you expect to redefine every instance of a single type of block you would be better off using an non dynamic block. Quote
Zorg Posted June 5, 2009 Posted June 5, 2009 Depends how you do it but usually just the single block. If you expect to redefine every instance of a single type of block you would be better off using an non dynamic block. i'm very unfamilar with dynamic blocks:?, but by the sounds of it, i will start to investigate them. Cheers for the tip. Quote
qball Posted June 8, 2009 Posted June 8, 2009 I'm thinking the dynamic block has attributes for the listing of hazards. Just type in the hazards for each block. And then the box has to have a stretch action, but it's manually done. see attached. Otherwise multiple visibility parameters if the list of hazards are roughly the same. ATTRIBUTE.dwg Quote
BIGAL Posted June 9, 2009 Posted June 9, 2009 It may be easier to not use a block but rather a lisp to draw what you want this way you can have as many lines of text as you want and still have a fancy box around it. You need to do two things count lines of text (set up dummys say 10 lines = NIL, list! ) and count number of characters in a line always remember maximum. If you multiple your text height by 1.4 it gives a good vertical spacing and do say 1.0 for width, add margins equals box size. Then just text1 text2 etc draw box. Hint write text to a file then re-read into drawing search forum here for "text in a box lisp" "XYZ" co-ords table. I will post an example if you want to go this way. Please paste example of block 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.