myFileInfo.setFile(aPathToCopy);
myFileName = myFileInfo.fileName().latin1();
- }
+ }
myInput.reset(CreateConvertor(myFileInfo.absFilePath().latin1()));
string aCompDataType = "MED";
myFileInfo.setFile(aCompDataType.c_str());
- SetInitFileName(aCompDataType);
myFileName = VISU::GenerateName("aResult").latin1();
+ SetInitFileName(aCompDataType);
+ SetName(VISU::GenerateName(myFileInfo.fileName()).latin1(), false);
CORBA::String_var anIOR = myStudyDocument->ConvertObjectToIOR(theField);
SALOMEDS::SObject_var aFieldSObject = myStudyDocument->FindObjectIOR(anIOR);