I am having a difficult time trying to get what I need to work properly.
I need the User Defined value input to be read by the fields in my attribute.
What I am getting is the Default Value of the attribute.
I am also extracting the attribute information using the data extraction and need the TAG name to be connected to the schedule with the correct information.
Attached is an example
Is this even possible?
If so, how?
If not, how would I a=obtain a similar result?
For the field to read the correct value of the attribute you must place the field outside the block.
Otherwise it will continue to read the default value.
An attribute can't refer to another attribute within the same block, you can get it to refer to parameters, So I would try something like the attached, but you will need to position the attributes and include them in your actions. In order to get it looking how you want. Once you extract the data you may need to combine fields in your spreadsheet.
I have found that for an Attribute to read a Value that is given after the Block is Inserted the Default Value of the Attribute needs to be left blank when the Attribute is created.
When the Attribute is filled after the Block is inserted the Field will populate.
Isn't that a bit like which came first the chicken or the egg. It does mean that you can't use the blocks by inserting them without going back and editing the attributes afterwards, but you can then copy the edited block for multiple instances, and edit the values of attributes in the properties manager.
I have not tested using COPY to create addiitonal instances of a DynBlk that has a Field that needs to be populated from an Attribute but have not been successful populating a Field that has been given any Value, other than a Field, that calls from another Attribute.
If the Value is left blank except for the Field it works as intended.
If there is a Value provided then it will not update.
This is very fickle and needs to be done when the Attribute using the Field to call another Attribute is created.
"An attribute can't refer to another attribute within the same block"
Unfortunately the above statement is true.
Yes, I can continue to try and develop a work around but I keep running into block walls.
I am strapped by the limitations of plain vanilla AutoCAD 2013 and will have to accept that.
Thanks for your help.
P.S. The chicken had to come first.
But there are several opinions out on that. :-)
Have a great day.
But a Field can refer to an Attribute in the same Block.
And I know I am not following what you want your Block to do but I will assume that the Table at the bottom is where you are calling from.
If so the Table is not in the same Block.
The Block that wants the info is nested inside this greater block when inserted.
But surely you can not get a field to to refer to another attribute within the same block, that does so on insertion of the block. If you have 2 attributes 'A' & 'B', and attribute 'A' requires user input when the block is inserted, attribute 'B' cannot have a field that refers to 'A' without as you said earlier editing the block after it has been inserted.
I use a callout block (Section# and Page) that are populated when I open the Block after Insertion and give it the appropriate information.
This DynBlk has a Vis State for a second bubble that is blank except for the Fields that are calling from the Attribs in the first bubble.
So, yes; when I insert this block the first bubble is blank, just a circle with a line across the diameter and the second bubble, if I change the Vis State to show it has two lines in it; both are four short dashes with the Field highlite around them.
When I add the info to the first bubble and hit REGEN the second bubble will then populate.
Leaving the Value blank is done during the creation of the second bubble's Attributes: Except for giving it a Field that refers to the first bubble's Attributes that too are blank when created. (That might be the other part of the puzzle, not sure I have said that in this thread.)
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!