Open dezmoHU opened 2 years ago
I would consider 5 to be a bug. (Should be probably be filed separately.)
Member objects of collections should always return their #parent
, which is the collection object to which they belong.
Collections should always have a #model
method that returns the model object to which they belong.
The #parent method documentation states that:
Returns:
(
Sketchup::ComponentDefinition
,Sketchup::Model
) — a Entity object representing the parent of this entity.However :
1)
Returns:
Sketchup::Pages
2)
Returns:
Sketchup::Layers
3)
Returns:
Sketchup::Materials
4)
Returns:
Sketchup::Styles
5)
Returns:
nil