SketchUp / api-issue-tracker

Public issue tracker for the SketchUp and LayOut's APIs
https://developer.sketchup.com/
38 stars 10 forks source link

Allow mutators to Sketchup::InstancePath #339

Open thomthom opened 5 years ago

thomthom commented 5 years ago

The C API let you set the leaf and push/pop instances to the path. The Ruby API have currently no mutators for instance path. (Note #338 to allow the leaf to be cleared)

Along with this there is no way to copy an instance path other than converting it to an array and passing it to the constructor. #clone should be added to match our other POD types (vector, point transformation etc).

sketchupbot commented 4 years ago

Logged as: SU-47039

DanRathbun commented 3 years ago

RELATED ISSUE #700: Similar to a pop operation but can return the receiver for chaining (ie, discards the popped items.)