Now, on SU7, that one can get the full "genealogical instances path" from your current "active level" up to the model level ( with model.active_path ).
How can I re-position my "active level" in one particular instance of this path (kind of "edit level") ? Example:
print model.active_path
#<Sketchup::ComponentInstance:0x01><Sketchup::ComponentInstance:0x02><Sketchup::ComponentInstance:0x03>
That means my current "active level" is instance 0x03.
How can I move up one level using Ruby API to make my "active level" at instance 0x02 ?
Thank you
PS1: It could be a pair of APIs like this:
model.get_active_path ( exactly the same as model.active_path)
model.set_active_path(n) where n is the number of "levels" to go up.
In the example above, model.set_active_path(1) will move the "active level" to
#<Sketchup::ComponentInstance:0x01><Sketchup::ComponentInstance:0x02>
PS2: Today I'm using the OUTLINER to get positioned in a particular "active level". How can I do the same using Ruby API ?
Thank you
Marcio

