Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Change GRAPHREP attribute via AdoScript
graphrep adoscript
Answer
14/05/18 12:23
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
14/05/18 12:44 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
25/07/18 07:00 as a reply to Mateusz Dziedzic.
Thanks for the answer. It worked well!