VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

3 Dynamic attributes with the same dynamic block

8 REPLIES 8
Reply
Message 1 of 9
Amremad
506 Views, 8 Replies

3 Dynamic attributes with the same dynamic block

Hi every body

this question very important for me , i tried to solve it by my slef with 1 year along but i can't to find any solution for it

 

my problem

i have 3 attribute in one block , i made 3 options for visibilty1

 

so i need in visibilty (1) i can show only the text 11

and i need in visibilty (2) i can show only the text 22

and i need in visibilty (3) i can show only the text 33

 

see my attach and you will understand me

 

thx for ur help

Tags (1)
8 REPLIES 8
Message 2 of 9
AubelecBE
in reply to: Amremad

hi.

i checked your bloc it work fine. But i dont know why all the att is show.

 

I have delete all your block and i have used the insert bloc --> i have only one attribut showed.

 

check the ATTMODE but i dont know why this.

 

++

Message 3 of 9
Amremad
in reply to: AubelecBE

thank you for you replay

this is my problem 3 attrubites show at the same time

 

 

Message 4 of 9
AubelecBE
in reply to: AubelecBE

can you test with the var. system ATTREQ at 0 ?

 

or create a wbloc with you block and créate a new dwg and insert your bloc from the file.

 

 

 

Message 5 of 9
Amremad
in reply to: AubelecBE

I CAN'T UNDERSTANT YOU

CAN YOU MAKE A SAMPLE FOR ME

THX

Message 6 of 9
AubelecBE
in reply to: Amremad

sr for my english : so.

1 - in command ligne : 'wbloc' press Enter and sélect your bloc inserted. check the name of the bloc in Name (in the new windows)-> save it. (see et1.pdf)

 

2 - Close the dwg and in the Menu File : New

 

3 - in the new dwg : command ligne : insert ENTER (sr for mee : inserer so try the command i ENTER)

--> in the windows click on the button Add (sr my acad is in French) (see Et2.pdf)

 

--> choose the file saved in part 1 --> Enter and insert it on the dwg.

 

if this works ok , but if not.. i dont know why.

Message 7 of 9
Amremad
in reply to: Amremad

did you understand my question ?

 

i think your solution is for inserting block but my question for how can i show two attributes in dynamic block with two visibilty options

 

i hope you will understand me

 

sorry for my english

Message 8 of 9
AubelecBE
in reply to: Amremad

oh ok 🙂

So your reponse : You cant do this. Only one visibility at once.

 

 

Message 9 of 9
Amremad
in reply to: Amremad

yes only one attribute show in only one visibilty and so on

thx for your intersting

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost