Hello,
I am trying to find a tool for creating state diagrams which shall then be executed externally. And so I would like to know whether my following approach would generally be feasible (I am an experienced Ruby programmer):
- State diagrams consists of boxes and transitions (lines between boxes)
- Boxes and Transtions(lines) should be selectable through the menu for drawing
- Boxes have a fixed size from the beginning (may be changed later)
- Transitions shall be drawn like simple line and shall be connected to 2 boxes
- By right klicking on a box or transition I receive my own attributes form, where I can add some 5 to 10 attributes
- I would like to show 2 attributes of the box and 2 attributes of the transition in the drawing. When moving or changing size, attributes should be moved dynamically
- After saving the drawing, I would like to analize the drawing:
- Get attributes of each box
- Get attributes of each transition
- see which boxes are connected by which transitions
My general question is: Is that generally achievable with the current Sketchup version 8? As already mentionned, I am an experienced Ruby programmer. But I have no experience with the combination of Sketchup and Ruby yet, so I do not know about the limits and pitfalls.
Any Help or suggestion is appreciated.
Best regards
Peter
By the way: Can I disable existing menu items, which I do not need, by Ruby?