Yhdistelmä näkymä Sisentämätön näkymä Puunäkymä
Aiheet [ Edellinen | Seuraava ]
toggle
Change GRAPHREP attribute via AdoScript
graphrep adoscript
Vastaus
14.5.2018 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
Vastaus
14.5.2018 12:44 vastauksena Nena Basina:aan.
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
Vastaus
25.7.2018 7:00 vastauksena Mateusz Dziedzic:aan.
Thanks for the answer. It worked well!