nocturne00 Posted October 23, 2008 Share Posted October 23, 2008 Ok very tricky question and I dont know if its even possible, but I have to try. We have an Attributed Title Block where some of the attributes are duplicated as an Attributed Field Expression, reason being? for the drawing code to be found in two places but only written once in the Attribute Dialog Box. Question is how do I hide the duplicate Attributes w/c have field values? reason being again, coz they often fill in the atributed field w/c breaks the link between the attribute and the attributed field. Hope this makes some sense, ill post a screenshot Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 23, 2008 Author Share Posted October 23, 2008 The values on the green box are the editable attributes, the ones on the red are attributed fields w/c are sort of copies of the ones on the green box. problem is, sometimes we edit by mistake the attributed fields w/c breaks the link. i need to hide the values on the red box so it does not become editable I tried directly using Fields linking to the attributes but the fields only show the default value of the attribute, not the inputed values when filling up the enhanced attribute editor. the only thing that works is attributed fields. But if anybody has another suggestion on how to do this im all ears. Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 Just a suggestion, Do the attributes in red really have to be attributes? Can u not just make them as mtext in your block with text field linking to your attribute values. that way only the attribute that u want edited can be edited. Hope that makes sense to you Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 23, 2008 Author Share Posted October 23, 2008 Tried that, when you directly use a field or mtext with field value to link it it displays the default value of the attribute it is linked to, not the value inputed in the enhanced block editor Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 have u also tried a regen to update this text field. you may need to check your textfield settings, under options-user settings, to set when they update Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 I have tried this out and it seems to work fine even if the attribute has a default value. Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 23, 2008 Author Share Posted October 23, 2008 I think that only works if the textfield is not part of the block, maybe that is what you did? I also tried it and it works no doubt, but thats when the textfield is not part of the block the textfield i require needs to be incorporated with the block, but when im in blockeditor(even outside blockeditor)the value it displays is the default value of the attribute. not the value i input on the attribute editor. Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 yes ur right there, worked only outside of the block.sorry Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 23, 2008 Share Posted October 23, 2008 sorry, no answer here but I'm watching as I have tried this many times with no joy either. Out of interest, how have you made the links? Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 23, 2008 Author Share Posted October 23, 2008 sorry, no answer here but I'm watching as I have tried this many times with no joy either. Out of interest, how have you made the links? Me too, been at it since morning. the only link that worked is to create a new attdef and insert the field at the default definition(the button to the right of default(prompt, tag, default) in the attdef dialog box). this allows a sort of duplication of the linked attribute in the block. downside is, coz the field is an attribute, it is also displayed and editable at the enhanced attribute editor when you input values. and sometimes we edit it by mistake. Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 23, 2008 Share Posted October 23, 2008 I've never tried that (might try soon). I tried puttting multiple texts in my blocks linked to an invisible attribute. That way the attribute appeared in the dialogue box with the intention of populating it from the attribute (needn't have been invisible - thought it might work) but I only got the same result as you. I also tried putting a "block within a block" - same result. I guess we need to fill in one of those AutoDesk "what we want"s. Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 I think I have a solution. do you use drawing templates? If so and all your title blocks are the same then this should work assuming 1 layout per .dwg file (could probably be altered to suit more layouts) Under File_ drawing properties _ custom Instead of editing the attributes in the title block- put the "tag name" and value here and then in your titleblock use textfields to link to this data. Look under field category Document to find your new "tag names" So when u need to edit the data in the titleblock, you edit this under File_ drawing properties _ custom (obviously if u choose this method u can create ur own shortcut command or button for it ) sample from what I mean is attached I do not use this myself as we have not encountered this problem so do not know if is fully usable or not but seems to work out as possible solution so any comments welcome attribute_query.dwg Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 23, 2008 Share Posted October 23, 2008 I know that does work as I've done it in the past. The problem for me is still the same though, somebody new double clicks the block, types in the linked attribute field and the link is broken. Even worse in my case. I had written a batch program that allowed me to change the drawing number in a set of drawings which stopped working and left me with half a set of renumbered drawings. Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 try this, by clicking on constant when in the attdef dialogue box, this prevents the attribute from being edited by double clicking. obviously by opening block it can be edited or by use of battman comand Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 23, 2008 Share Posted October 23, 2008 I hadn't thought of that. By the time I realised what was happening the original set had already been compromised so I lost interest. Do the linked attrbutes still update if they are declared constant? Quote Link to comment Share on other sites More sharing options...
feargt Posted October 23, 2008 Share Posted October 23, 2008 yes they do.....after a regen Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 24, 2008 Author Share Posted October 24, 2008 G'morning guys. interesting read, ill try making the attribute constant and give a feedback. thanks Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 24, 2008 Author Share Posted October 24, 2008 Ok I screwed up somewhere, coz now the attributes wont link with what I input in enhanced attribute editor, even with the normal procedure I was already using yesterday. the field-in-attribute linked to my target attribute to be duplicated just shows the default value. any idea as to what I have tripped? such a bummer, just when I had something going, its such a waste to abandon this Quote Link to comment Share on other sites More sharing options...
feargt Posted October 24, 2008 Share Posted October 24, 2008 not sure I fully understand what method you are using........are u trying to do what I described as possible solution ? or another method? Quote Link to comment Share on other sites More sharing options...
nocturne00 Posted October 24, 2008 Author Share Posted October 24, 2008 tried your suggestion on making the attribute constant but it made the attribute like a direct textfield, it only displays the default entry of the attribute in the block, not the inputed one. Quote Link to comment Share on other sites More sharing options...
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.