Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
Topic Title: Dynamic fill color using Depictions to control color
Topic Summary: Can't repeat controlling color fill of symbol w/ depictns
Created On: 5-Jan-2007 23:03
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by SA Team, on Monday, January 8, 2007 7:55 PM

Answer:
Hi

I used this in the USRPROPS.TXT file.
Open up an entity symbol in an ER diagram and choose the 'Symbol' tab.
Select the item from the list.
OK the edit.

The diagram symbol takes the new colour.

Is this what you wanted?

Thanks
Ian
 5-Jan-2007 23:03
User is offline View Users Profile Print this message


Paula Stone

Posts: 7
Joined: 5-Jan-2007

We have succussrully used this type of entry to control the color of a symbol on a diagram, but cannot repeat it. I think we are missing a step related to the autoexec.sty. Any thoughts? I would like the color of an entity to be based on the value in the user property "Conceptual Area".

LIST "Conceptual Area"
{
 VALUE ""
 VALUE "(Who) Party"    DEPICTIONS { FILL COLOR {255,255,128}}
 VALUE "(How) Event"     DEPICTIONS { FILL COLOR {128,255,255}}
 VALUE "(What) Products/Services"   DEPICTIONS { FILL COLOR {223,193,255}}
 VALUE "(Where) Location"    DEPICTIONS { FILL COLOR {255,255,128}}  
 VALUE "(When) Time"     DEPICTIONS { FILL COLOR {128,255,255}}
 VALUE "Other"      DEPICTIONS { FILL COLOR {223,193,255}}
}

Report this to a Moderator Report this to a Moderator
 8-Jan-2007 10:16
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

Answer Answer
Hi

I used this in the USRPROPS.TXT file.
Open up an entity symbol in an ER diagram and choose the 'Symbol' tab.
Select the item from the list.
OK the edit.

The diagram symbol takes the new colour.

Is this what you wanted?

Thanks
Ian

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

Senior Software Developer
Telelogic UK Ltd.

Edited: 8-Jan-2007 at 10:16 by SA Team
Report this to a Moderator Report this to a Moderator
 8-Jan-2007 19:58
User is offline View Users Profile Print this message


Paula Stone

Posts: 7
Joined: 5-Jan-2007

Thanks very much Ian! I was not aware that I needed to put the property on the symbol. I'm pretty new at this. Thanks again. It works. (For existing entites I also have to go "reset" the symbol colors - one at a time, but for new entities it is just fine!)
Report this to a Moderator Report this to a Moderator
 31-Aug-2007 14:01
User is offline View Users Profile Print this message


klaus kej

Posts: 2
Joined: 23-Feb-2007

I have tried to implement this feature, but haven't succeded. The list values do show up on the Symbol tab, I can select on, but nothing happens. What do I miss?
Report this to a Moderator Report this to a Moderator
 4-Sep-2007 14:37
User is offline View Users Profile Print this message


Paula Stone

Posts: 7
Joined: 5-Jan-2007

Klaus, Just FYI, we use the LIST entry below in conjunction with the SYMBOL enhancement below (notice that it is INVISIBLE), and also with the enhancement to the DEFINITION "Entity" shown below. This allows us to set the color for the entity from within the entity definition and have it apply to any diagram it appears on. If you have been playing with the fill colors using the fill colors from the menu, it is a little tricky to get it back. Be sure the fill is set to "automatic" for the symbol you are experimenting with. If you still have trouble, set the fill color to automatic and close SA. If it asks you whether to save the autoexec, say yes, and try again. LIST "Conceptual Area" { VALUE "" VALUE "(Who) Party" DEPICTIONS { FILL COLOR {204,255,204}} VALUE "(How) Event" DEPICTIONS { FILL COLOR {255,204,0}} VALUE "(What) Offerings" DEPICTIONS { FILL COLOR {204,255,255}} VALUE "(Where) Location" DEPICTIONS { FILL COLOR {255,204,153}} VALUE "(When) Time" DEPICTIONS { FILL COLOR {255,153,204}} VALUE "Other" DEPICTIONS { FILL COLOR {192,192,192}} } SYMBOL "Entity" IN "Entity Relation" { PROPERTY "Conceptual Area" {INVISIBLE EDIT TEXT LISTONLY LIST "Conceptual Area" LENGTH 50 } } DEFINITION "Entity" { CHAPTER "Responsible Parties" LAYOUT { TAB ALIGN OVER } PROPERTY "Conceptual Area" { EDIT Text LISTONLYCOMBO LIST "Conceptual Area" }
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.