Jump to content

prompts mixed in block


Recommended Posts

Posted

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!

Posted

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! :lol:

 

here it is:

EXTERNI.dwg

Posted

wow - that's a puzzle.

 

Have you tried it after setting LOCK = No? It does help but the results are interesting :lol:

 

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.

Posted

unlocked atts almost solve the problem but...:shock: ...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 :)

Posted

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. :shock:

 

time to restart AutoCAD and give it another go.....

 

------------------------------------------------

 

JUST BACK FROM A RESTART OF aUTOcad - AND STILL THE SAME! (sorry about caps lock)

Posted

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 :whistle:

Posted

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.

Posted

hmmm...i don't understand.

is it geometry of the block that dynblocks reject like human body reject foreign limb!? :huh: :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!

Posted

don't understand me or AutoCAD? :D

 

actually I wouldn't be surprised whatever answer you give.

Posted

problem with mixed PROMPTs is VISIBILITY PARAMETER.

 

does anybody know how this can be fixed and why this is happening!?

Posted

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?

Posted

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.)

Posted

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!?

Posted

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.

Posted

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.

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...