I suppose it's a bug, and I wonder how can it be fixed:
If you edit attribute settings in a dynamic block, and put:
Constant: yes
Lock position: no
You can't neither change the position in the Model, nor edit text. I suppose that with this two settings selected the way showed above, one should be able to move the attribute in Model space.
Try posting your query in the Dynamic Block forum...
It is doing exactly what you asked for. Constant means you cannot change it. AutoCAD treats the attribute like text, which is part of the block rather than a separate entity following the block. If you want to move the constant attribute, then add dynamic block parameters and actions to it. If you just want the value preset, use that setting. This allows you to change the value later.
well, that's kind of confusing, the fact that these two pairs of settings (and values) do the same thing:
Constant: yes
Lock position: yes
&
Constant: yes
Lock position: no
I would expect that in the 1st variant you CAN'T move a constant attribute, and in the 2nd variant you CAN move it )
What you are likely seeing is that an Attribute in a Dynamic Block will not react to Actions that it is included in if the position is not Locked. Lock Positin is required for a Dynamic Actions to work on included Attributes.
Adding a Point Move to the Attribute is the preferred method for moving Attributes in a Dynamic Block.
This way it can be Locked and work with such Actions as Flip, Rotate, or Stretch and be moved to positions beyond what those Actions may do.
As dbroad said: Constant is a variable that controls how the Text in an Attribute is editable. From Help:
Whether an attribute is constant or variable. Whenever you insert a block that has a variable attribute, you are prompted to enter data to be stored with the block. Blocks can also use constant attributes whose values do not change. Constant attributes do not prompt you for a value when you insert the block.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I agree that it is confusing. Constant attributes behave like text in blocks, not like attributes. It is the one attribute type for which the lock position switch is irrelevant. It also has a problem, not noted, that center alignment is not respected. It aligns the tag centered but does not align the value centered.
If you want to move constant attributes, ignore the lock position switch and use dynamic block polar move.
If you want to move any other attibute, you have a choice: Use the lock position together with a dynamic block action or uncheck lock position and use a dynamic block action to move it.
And beware the consequences of unLocked Attribs in a Dynamic Block
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
To my knowledge, there are no "consequences" for constant attributes. Are you aware of any?
Not for Constant and what you describe is the first I've heard of there being an issue.
Not Locking Attributes can lead to other issues like the Attrib not following a Stretch Action or Flip or ignoring a Vis State and the like.
Vis state example:
http://forums.augi.com/showthread.php?150144-Attribute-wont-hide-for-Dynamic-Block
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
I guess I think of it like this. There is a choice. Attribute move control via the normal attribute grips (unlocked) or have it via the dynamic block actions (locked). So if you want a centered attribute to remain centered as the block stretches, you would want it locked. Otherwise, if you just want arbitrary move control (unlocked).
Since the locked flag is ignored by constant attributes, it makes no difference which way it is set.
Yep, and understanding how the two choices interact with other Actions is what we need to know.
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘