@dan rathbun said:
@slbaumgartner said:
Your Array of references to Faces can not be saved per-se because Ruby objects are not persistent.
Yes.. the persistent collection of faces (and edges,) that are saved in the model, are
Sketchup::Entities
collections. The model has one, which is the toplevel collection of entities.Sketchup::Group
andSketchup::ComponentDefinition
also have entities collections.In addition, since SketchUp 2014, instances of these later two classes can have unique persistent IDs assigned to them. See:
So consider grouping your path faces if possible.
I see very interesting, thank you for all the information. One question about the groups; do they have to be mutually exclusive? That is it would be nice if one face could be used for two separate paths.