AutoCAD Dynamic Blocks :: Not Updating With Value Of Attribute Within Same Block
Jul 2, 2013
Fairly versed with Dynamic blocks here, so the first thing I checked was to make sure that my FIELDEVAL was set to 31 to ensure updates but this one isn't working for me and may be a limitation of the software?
I'm making a dynamic block for my users who aren't familiar with electrical wiring so I am developing a series of blocks for our typical wiring configurations. In this instance, I've setup a pair of attributes to allow the changing of wire color codes and I want to use that single attribute entry to used in multiple other locations that are also connected to that conductor in certain situations. I have setup a field within this block to be the "VALUE" of the object (the attribute) in order to accomplish this. Unfortunately it is only displaying the default value I have for the attribute and will not update either upon insertion of the block or after an edit. Is this beyond the capabilities of Dynamic blocks or do I need to take a different approach?
I wish to create a dynamic block containing some attributes. These attributes are inside rectangles that can't be modified in length using linear parameters ; but the attribute has to be always in the middle of the rectangle. So, I draw a line inside the rectangle (in a hidden layer) and insert the attribute with center justification (not sure for the translation) that I place in the middle of this line ; then I put a coincidence constraint (not sure for the translation, but it's the first one) linking the middle of the line with the middle of the attribute.
But here's the problem : when stretching my rectangle, the insertion point of the attribute suddenly changes from "center" to "bottom left".
I am looking for a way to use the ATTIN/ATTOUT workflow to bring in data from an excel spreadsheet to drive the size of each of my block's instances. The block will be simple, a rectangle, with width and length parameters. For each entity in my excel/csv file these parameter values are spelled out. I know how to display these parameters in my attributes, but I don't know how, if I were to feed in these values, to drive the geometry. If there's a better way to take a list of width and length values to generate a series of blocks each with a rectangle containing its respective size.
Attached is my latest block that I'm working on. how to keep a field readable (horizontal) when rotated. What I need to do to update a field that is linked to an attribute when the attribute value is changed? The UPDATEFIELD command does not seem to work on it for me.
I have a block that I want to show on a vertical exaggeration of 10x. How do I make it so that a block has a Y scale of 10 without the attribute text inside the block being stretched in the Y direction 10x?
I would like to use a Y scale of 10 rather than a block with 10x the length because I have a field that returns a length parameter and I don't want that value to be 10x what it's supposed to be, and it would make things much easier to not have to multiply my values by 10x each time I use the block.
I have the same block repeated multiple times in a drawing, and I want to delete the last attribute in all of the specific blocks. When I edit the block in block editor, the attributes do not show up. After I explode the block, there is no text. The attached image shows the properties of the block.
I'm trying to edit our titleblocks. There is information we repeat at the top of the drawing like the drawing name, sheet number, total number of sheets, contract number, etc. It is ridiculous to have to type this information in twice. I tried creating both text and constant attributes at the top and insert field pointing to attributes at the bottom but all I get is ---- when inserted. My inserted field was ->Object->(selected attribute)->Value. I am using version 2011. I would think it should be easy to "repeat" values of attributes inside a block.
So I've done a reasonable amount of work with dynamic blocks. I have a block with a rotation action and grip to arbitrarily align it. However I realized when trying to combine it with an alignment grip (which actions on the basic or fundamental block rotation angle) that there didn't seem to be a way to some how link a dynamic block rotation action or one of the custom angle properties to a the fundamental block rotation angle. Thus there are two additive rotations at work; the dynamic block one with its grip and the fundamental rotation property.
This can cause some confusion when one person aligns with the grip and another via rotating the block's fundamental property and would also be problematic in the generalized sense if one was trying to select or programmatically read back the net angle alignment.
new to dynamic blocks but looking to streamline my wiring diagrams here and have created a block that shows the typical wire styles we use in a simple easy way. I now want to add an overall flip to the entire block and have not been able to find set this. I would prefer to use the same label and go from there. I have included the block to show what I mean. It is only working on the single visible item at the one time. I know this has to be possible just let me know what I am doing wrong. I am running AutoCad LT 2013
I need to create a dynamic block for a "Glass Panel" in a balustrade. I need to be able to insert it, in one corner and stretch it in another corner, to suit the staircase angle.
I've created the block, but it isn't working correctly. I've attached a drawing, with the left hand drawing a sketch of how it needs to be. The right hand drawing is my dynamic block attempt. As can be seen, when the block is stretched between the 2 points, it doesn't follow the angle of the staircase correctly (Very slight run off)
I'm trying to make a dynamic block of a column radiator.
It should be very simple. It's a 46mm wide module that comes in a range of heights (300, 500, 600, & 750mm) and a range of assembly widths (9, 13, 18, 22 & 27 modules wide - more commonly given as mm widths of 414, 598, 828, 1012 & 1242 respectively).
My attempt at constructing it has gone quite well, but when 'stretching' the block a ghost of the core 414 (w) x 300 (h) unit remains. I attach the block to give you a better idea of what I mean.
I have a drawing ("SURUBURI.dwg") with several dynamic blocks ("M12", "M16", "M18" ... an so on...). I want to insert in my current drawing, one of the blocks from SURUBURI.dwg, for instance the block named "M12".
For that i tried creating a new command "INSERT_M12" that has the following script :
I have successfully created a dynamic block. I can insert it into AutoCAD, and it behaves like I want, except for one thing.
I can select the block and change it by taking a grippoint and place it at another position. So my block is e.q. stretched, just like I wanted.
But then. When I want to use the ordinary STRETCH command of AutoCAD, I can only stretch the insertion point of the block, but not the grippoints. Is there a way to set a grippoint to be select edable by commands like STRETCH.
I need a rectangle block which on insertion prompts me for some data (name/tag/item number) and then displays it (this I can do). This is al pretty straightforward. But I also want to be able to fill in width and height and then have the block stretch to the correct size. So basically what I think I need is to have the value of a parameter refer to the value of an attribute. I've gotten it to work the other way around, where the attribute displays the size of one side of the rectangle (after stretching and regenerating), but I'd really like to have it working the other way.
making dynamics blocks and more over utilizing the attribute feature but I have discovered some chnages tat i need to make.
My question right now is, once an attribute is created and put into the block editor is that it? Ifi need to edit it can i edit it? I don't really see an option or command right off that would allow me to do this ?
I have a dynamic block with several actions and parameters. There are three grip points. Two are visible. One appears when you move one of the other grips. If i insert or paste this block near my template, the X/Y basepoint stays near the template when i drag the block on the template with one of the other two grips.. When i print the drawing the basepoint stays visible and the scale on my printed drawing is not correct (smaller).
I am creating a dynamic block of a conveyor belt it has a set number of widths and needs to be stretchable in length, which I have managed to do. The motor is placed half way down the length of the conveyor and needs to stay centered
I know I need to use the move command and put in a factor of 0.5 somewhere, but I can't remember how to do it.
Is it possible to mirror a rotation within a dynamic block?
See the attached drawing. I am trying to have two rotations within a dynamic block, but only one grip. When the grip is rotated one half of the block rotates while the other half rotates in reverse. The resulting action would be much like the wings of a butterfly.
I have tried many different combinations of parameters, actions and constraints with no luck. The block in the attached file was as close as I could get. Have I reached the end of what AutoCAD is capable of?