Message 1 of 4
edit one block reference , not all

Not applicable
04-01-2001
08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am developing a form which allows the user to enter a wall's length and then builds the wall by inserting the appropriate number of 4 ft drywall panels. An 18ft wall will result in 4 4ft panels and one 2ft panel. My routine inserts the block named 'ex-pa' 5 times. 'ex-pa' is a drawing representing a drywall panel that contains 2 parallel lines of length 48". What I want to do is select the block reference of the 5th inserted block and change the length of the two lines inside it to 24in. However, when I change the line length of the 5th panel, it changes the length in all 5 panels.
The enclosed code (patched together from various postings in this discussion group) attempts to loop thru each block ref and assign a unique length (nor) to each line so that I can see that I am editing a specific block reference. But all block refs end up with the same line dimensions. How do I change a single block ref's entity geometry?
The enclosed code (patched together from various postings in this discussion group) attempts to loop thru each block ref and assign a unique length (nor) to each line so that I can see that I am editing a specific block reference. But all block refs end up with the same line dimensions. How do I change a single block ref's entity geometry?