+ write out product name if defined to IGES/STEP files

This commit is contained in:
wmayer
2015-07-11 14:05:47 +02:00
parent e4aa8b0e8c
commit f85fa0325a
4 changed files with 7 additions and 4 deletions

View File

@@ -703,7 +703,7 @@ void TopoShape::exportIges(const char *filename) const
IGESData_GlobalSection header = aWriter.Model()->GlobalSection();
header.SetAuthorName(new TCollection_HAsciiString(Interface_Static::CVal("write.iges.header.author")));
header.SetCompanyName(new TCollection_HAsciiString(Interface_Static::CVal("write.iges.header.company")));
//header.SetSendName(new TCollection_HAsciiString(Interface_Static::CVal("write.iges.header.product")));
header.SetSendName(new TCollection_HAsciiString(Interface_Static::CVal("write.iges.header.product")));
aWriter.Model()->SetGlobalSection(header);
aWriter.AddShape(this->_Shape);
aWriter.ComputeModel();