How to save multiple documents in a single file.

I have a problem to save multiple documents in a single file.I am using XCAFApp_Application to open 2 documents from 2 different document files. Now I want to save this in a single XCAF document.Could u tell me how to do it because the save function which I use has the doc parameter which takes only single document.
myapp->SaveAs(mydoc,TPath);

bhimesh's picture

hi sir..
i am doing M.Tech in CAD/CAM at SGGSIE&T Nanded.. and wish to dissertation work in software development using OpenCASCADE and VC++.... and i have many doubts regarding the same..
i have found u as a regular user of the same...... thats why want help from u...
sir i am able to write program for modelling parts but have
i have doubts regarding...
assembly----such as can we write program for assembling parts with mating conditions....
drafting... can we have all three views with dimensions in one window..
my mail address is bhimesh_b@yahoo.com......

please mail me if u wish to help me.... and hope for the same...
thanks