I have been struggling with this for a while now. I’m trying to recreate the Save Local Collection functionality as found in SketchUp in my own code using the C SDK. As far as I can tell there is no function to directly save a ComponentDefinition. Creating an instance and saving that results an extra level of nesting in the saved SKP file.
Is there any way I can take a ComponentDefinition and save that to a file?
Thanks in advance for your suggestions!