graphical relationship script sequencer on Sketchup

graphical relationship script sequencer on Sketchup

SUtest2_fullSS.jpg

First attempt to intergrate the relationship graph into sketchup.
The graph seqences the related script container based on its connections. Different modes of evaluation is implemented so only part of the graph is evaluated if something changed. Sending in commands is quite straight forward, just need to eval the sequenced script through javascript-ruby-sketchup.
Ideally I would like to have a callback if any of the referenced sketchup entities changed in the model space, that will then allow me to re-evaluate the containers that depend on this node. That would mean obersevers in sketchup API term. However, from what I tried and read in various forums, not all oberservers gives the desired results. So after some testing I arrived at something that works in the model space. How it works in components and groups is yet to be tested.

4 thoughts on “graphical relationship script sequencer on Sketchup

  1. Hi Eric,
    just found this WIP, how’s it going? Please kindly keep me posted.
    Cheers,
    . d .

Leave a Reply

Your email address will not be published. Required fields are marked *