@lekonna said:
wow that was a fast reply, thanks jim!
Now i'll just have to dig out how the ComponentDefinition class works, as my geometry is at the moment only a group.
Nah, just try it with the Group, it might work. But if not, you just create a new ComponentDefinition instead of a new Group and use the Defs entities. You shouldn't need to change but one line of code (maybe.)