Janghom Lin Mon, 06/06/2005 - 05:54 Forums: Other usage issuesIs it possible to export selected shapes as iges file on OCAF(OpenCASCADE Application Framework)? Rob Bachrach Mon, 06/06/2005 - 13:32 Look at the documentation for IGESControl_Writer. It should have what you need. Log in to post comments Janghom Lin Tue, 06/14/2005 - 13:06 Handle(TDocStd_Document) aDoc=...; IGESCAFControl_Writer Writer; Writer.Transfer(aDoc); Writer.Write(aFileName); I use IGESCAFControl_Writer to write all objects on my document; but it will export all objects, if i would like to export just selected objects, do i need to create another TDocStd_Document, and copy selected objects to it? Log in to post comments
Mon, 06/06/2005 - 13:32
Look at the documentation for IGESControl_Writer.
It should have what you need.
Tue, 06/14/2005 - 13:06
Handle(TDocStd_Document) aDoc=...;
IGESCAFControl_Writer Writer;
Writer.Transfer(aDoc);
Writer.Write(aFileName);
I use IGESCAFControl_Writer to write all objects on my document;
but it will export all objects,
if i would like to export just selected objects,
do i need to create another TDocStd_Document,
and copy selected objects to it?