Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Change GRAPHREP attribute via AdoScript
graphrep adoscript
Answer
5/14/18 12:23 PM
Is there a way to modify a GRAPHREP attribute (eg. change the background color of the exact object that invokes the call) via AdoScript?

RE: Change GRAPHREP attribute via AdoScript
graphrep aval attribute adoscript adoxx set_attr_val
Answer
5/14/18 12:44 PM as a reply to Nena Basina.
Dear Nena,

you can use the SET_ATTR_VAL method to set/change the value of an attribute via AdoScript. Thus, e.g. to change the background color of an object you can create an attribute for the color and use the value of this attribute in the GraphRep code. Consequently, every time you change the value of the attribute using AdoScript (SET_ATTR_VAL method) the graphical representation of the object will also change (or in this case the color of the object).

RE: Change GRAPHREP attribute via AdoScript
Answer
7/25/18 7:00 AM as a reply to Mateusz Dziedzic.
Thanks for the answer. It worked well!