I am getting Sketchup.active_model.tags.class
=> String
I have deleted all plugins and it is still a string. I am not sure how to solve this. Any suggestions?
I am getting Sketchup.active_model.tags.class
=> String
I have deleted all plugins and it is still a string. I am not sure how to solve this. Any suggestions?
Are you trying to iterate over the Layer(aka Tag) objects?
https://ruby.sketchup.com/Sketchup/Model.html#layers-instance_method
The Model.tags method returns a String containing the comma-separated names of tags
https://ruby.sketchup.com/Sketchup/Model.html#tags-instance_method
Yes, and these can be better thought of as search keywords.
I believe they were meant for use in searching the 3D Warehouse. As I recall, they are saved at the beginning of the file data, in or just after the file header, so that external processes can quickly read the data without having to read much of the file.
So, @L-A, if your plugin was not going be creating models for the Warehouse, or some kind of external repository, then you do not need to use this property.