Redraw DC
-
Is there a way using ruby script to mimic the Dynamic components redraw option from the context menu.
I need to up-date the position of a DC (let's say Cube2) which depends on the Z value from another DC (lets say Cube1 ie Cube1!Z).
Any idea ?
Is there also a way to create an observer that would react to a DC geometrical transformation ?
Thanks for your help -
I think maybe it is possible. I don't recall any mention of it here on this forum, but if you search for "dc_observers" on the API Group, you may come up with something.
-
Thanks, This works. The problem I'm facing now is that I have added this "target" redraw capacity in a class function which extends DC functions but it appears they can't be referenced in a mouseclick interaction. Only in formulas.
I have to find another work around. The redraw() function only refresh the DC which calls it. Any idea about a work-around ?
Advertisement