How to combine a set of shapes into one shape

Hello guys, I want to export a Model to a STEP file. The model is consisted of several TopoDS_Shapes. How can I combine these shapes into one shape so that the STEP file opened as one model, not as many pieces?
Waiting for your answer...

Ma Yan's picture

TopoDS_Compound

dingguozi's picture

Thanks for your answer, I've tried to Add all shapes to a TopoDS_Compund, then exported the Compound to STEP file. When openning the STEP file in Solidworks, there is still many parts. Moving any part, it will separate from the model.