Attribute Color Changed Dynamically

Attribute Color Changed Dynamically

ianwill93
Contributor Contributor
4,008 Views
20 Replies
Message 1 of 21

Attribute Color Changed Dynamically

ianwill93
Contributor
Contributor

Well this seems to be an unanswered question in this forum's history,

 

Is it possible to change the assigned color of an attribute dynamically?

Like perhaps using a Visibility States?

 

To give some context, I am designing a game machine that has 2 different models that I will have within 1 DB.

One of the attributes inserted into the block needs to change color based off of the model in use.

 

From the tinkering i've done, I havent seen anyway of doing this...

 

I apologize if this has been answered before and I just missed it in my searches.

 

Thanks for any help provided!

0 Likes
Accepted solutions (1)
4,009 Views
20 Replies
Replies (20)
Message 21 of 21

GTVic
Advisor
Advisor

@ojuris wrote:

hi!

 

try this. You can change text in properties window. Don't forget use REGEN

 

Regards

Juris


Hi OJURIS, Can you explain how you created this TEXT entity with a field that points to BLOCK REFERENCE and in the Property list it shows the attribute tagged MODEL?

 

I can't even duplicate that using your drawing

  1. Open your drawing
  2. Go into the block editor
  3. Copy the text entity that says COLOR
  4. Go into text editor for new entity
  5. Edit field shows this (note where it says Block Reference and MODEL)
  6. GTVic_0-1670978371347.png
  7. Then delete the existing field and try to recreate
  8. Right-click and Insert Field
  9. Select Object from left side
  10. Use Select object button, click on the MODEL attribute definition
  11. The dialog shows Attribute Definition and you can pick Value if you scroll to the bottom of the list but that doesn't work at all
  12. How do you get Block Reference as the Object type?
  13. PS I'm using AutoCAD 2019
  14. GTVic_1-1670978514140.png
  15. Thank you very much
0 Likes