dusko Posted September 18, 2008 Posted September 18, 2008 hello! have a stupid problem! in dynblock i have 2 visibility states and in every state i have 4 attributes! now, problem is that in second state first 2 attributes in "enhanced attribute editor" have changed PROMPTS but in block editor in "edit attribute definition" everytrhing is OK! ATTSYNC is futile! Quote
dusko Posted September 18, 2008 Author Posted September 18, 2008 look at state "EXT.Odlaz", TAGS: SYS_OPIS_ODLAZ and ODLAZ! and second problem i find is that first att (which replaced promp with second att) accept prompt from first state of second att! here it is: EXTERNI.dwg Quote
dbroada Posted September 18, 2008 Posted September 18, 2008 wow - that's a puzzle. Have you tried it after setting LOCK = No? It does help but the results are interesting Its not doing what I would expect - and I'm sure I've had this working in the past. I'll have a think about it. Quote
dusko Posted September 18, 2008 Author Posted September 18, 2008 unlocked atts almost solve the problem but... ...new interesting results are here! i don't know...i'll try with QNEW because i think it is rotten file. if i delete all atts and add new atts...same thing happen! thank you dave Quote
dbroada Posted September 18, 2008 Posted September 18, 2008 I thought the block might be corrupt so I just made a new block myself - and guess what. The tags and values are correct but the prompt in visibility state1 are the same as those in visibility state0. time to restart AutoCAD and give it another go..... ------------------------------------------------ JUST BACK FROM A RESTART OF aUTOcad - AND STILL THE SAME! (sorry about caps lock) Quote
dusko Posted September 19, 2008 Author Posted September 19, 2008 same thing...i've made new block and i have new bug with one att which accept prompt from another att from same state. i thought maybe TAG-s has to have more than one charachter diferent. for example i have TAG-s: ODLAZ and DOLAZ or SYS_OPIS_ODLAZ and SYS_OPIS_DOLAZ that are mixed. but puzzle is more complicated because some values is ok and some are same and i see no logic any more Quote
dbroada Posted September 19, 2008 Posted September 19, 2008 I created a block with L1, L2 & L3 for the left half, R1, R2 & R3 for the right half, both for TAG & Propmt. I then added the visibility state and the attributes stayed in the corrct place but the propmts was only for one half. That is, I could see L1, L2 & L3 values but the prompt was R1, R2 & R3. This was quite consistant! I don't usually have attributes in hidden states so I can't say I've ever noticed it before. Quote
dusko Posted September 19, 2008 Author Posted September 19, 2008 hmmm...i don't understand. is it geometry of the block that dynblocks reject like human body reject foreign limb!? :wink: last block i've made is not containing hidden atts! i have similar blocks (with 7 atts one on each side) where everything is ok! Quote
dbroada Posted September 19, 2008 Posted September 19, 2008 don't understand me or AutoCAD? actually I wouldn't be surprised whatever answer you give. Quote
dusko Posted September 19, 2008 Author Posted September 19, 2008 i have to admit that i understand you. Quote
dusko Posted September 22, 2008 Author Posted September 22, 2008 problem with mixed PROMPTs is VISIBILITY PARAMETER. does anybody know how this can be fixed and why this is happening!? Quote
dusko Posted September 23, 2008 Author Posted September 23, 2008 i have one more question... this error occure when dialog box open due inserting block. if issues prompts on the command line (ATTDIA=0) everything is OK with PROMPTs. so, i would like to have next situation: ATTREQ=0 so no PROMPT request in insertion point. after this i woul chouse visibility state. and then i would like to edit attributes and have prompts shown in command line. but if i set ATTDIA=0 dialog box open (regardless if i set ATTDIA to 0 or 1) and i would like to have command line active for PROMPTs. question is: how can i insert dynbloc without editing attributes in insertion process and edit attributes in command line after inserting dynblock? Quote
dbroada Posted September 23, 2008 Posted September 23, 2008 Proably not what you want but ATTIPEDIT allows you to select a single attribute to edit. (I'm just using the trick of typing ATT and then pressing TAB to see all the commands in that area.) Quote
dusko Posted September 23, 2008 Author Posted September 23, 2008 you probably mean ATTEDIT!? ATTEDIT is closest solution for my problem till now. is ATTDIA variable estimated only for insertion mode or it should change method of eattedit so it would prompted me to command line and not to dialog box!? Quote
dbroada Posted September 23, 2008 Posted September 23, 2008 no, I meant what I typed! I've never seen it before either. I used to use -ATTEDIT but that isn't very friendly. ATTDIA does turn off the edit box but ATTEDIT calls the dialogue routine. -ATTEDIT calls the old command line version. Quote
dusko Posted September 23, 2008 Author Posted September 23, 2008 ATTIPEDIT is from AC2008. -ATTEDIT is no good... i would like to reduce time for fulfilling lot of attribute values. because in one drawing i could have about 100 or 200 blocks with 5-8 attributes. so i need fast and simply solution. Quote
dbroada Posted September 23, 2008 Posted September 23, 2008 I wondered why I had not seen ATTIPEDIT before! I don't have the time to look right now but you could ask in the LISP area for a custom routine to give you command line entry of attribute values. It shouldn't be too hard (I am sure I used to be able to do it), especially if somebody has similar code already available. Quote
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.