api-issue-tracker icon indicating copy to clipboard operation
api-issue-tracker copied to clipboard

LayerFolder #parent method not listed as inherited from Entity: Documentation issue

Open dezmoHU opened this issue 2 years ago • 1 comments

  1. SketchUp Version: 2021.0 and newer
  2. OS Platform: Both

The documentation of Sketchup::LayerFolder missed to list the '#parent' method as inherited from Entity:

image

However it can be used and act same as the: #folder method, which is used to return the parent layer folder of a layer folder.

See here: https://github.com/SketchUp/api-issue-tracker/issues/845#issue-1452280322

dezmoHU avatar Dec 11 '23 09:12 dezmoHU

Ah. Right. That's because it has it's customized parent method, but we didn't think it was needed to be listed because it was implementation details. Didn't realize it got hidden from the inherited list.

thomthom avatar Dec 11 '23 10:12 thomthom