[FYI] Mutator Method Problems in Sketchup::InstancePath class
In the last update 2026.2 mutator methods were added to the Sketchup::InstancePath class.
However, I have found some nasty bugs in them and the class in general, especially that the #transformation method always returns an IDENTITY transform no matter how deeply nested the current edit context is.
See my post in the GitHub issue:
Also, there was an old bug reported here in 2017 … not sure if it was ever fixed: