The docs list a Group .definition method as ‘SketchUp 2015+’: http://www.sketchup.com/intl/en/developer/docs/ourdoc/group#definition
I’ve been using it without problems on 2015 do duplicate a group using the .add_instance(definition, transformation), can I get something similar on earlier versions?
Is there a better way of copying a group inside something else?
For older SketchUp’s consider
defn = group.entities.parent
as equivalent to the newer method
defn = group.definition
@villares : But the above was also bugged in some older versions.
gdef = group.model.definitions.find {|d| d.group? && d.instances.include?(group) }
@DanRathbun
You are of course correct - although I think those ‘ancient’ versions are ‘no longer supported’