aDescr += (anEntry+", ");
aDescr += (TCollection_AsciiString(theSubShapeID)+" )");
+ aDescr = aFunction->GetDescription() + "\n\t" + aDescr;
aFunction->SetDescription(aDescr);
SetErrorCode(OK);
//Make a Python command
TCollection_AsciiString anEntry, aDescr;
TDF_Tool::Entry(aMainShape->GetEntry(), aDescr);
- TDF_Tool::Entry(theGroup->GetEntry(), anEntry);
aDescr += " = geompy.GetMainShape( ";
+ TDF_Tool::Entry(theGroup->GetEntry(), anEntry);
aDescr += (anEntry+" )");
- theGroup->GetFunction(1)->SetDescription(aDescr);
+ aFunction = theGroup->GetFunction(1);
+ aDescr = aFunction->GetDescription() + "\n\t" + aDescr;
+ aFunction->SetDescription(aDescr);
SetErrorCode(OK);
return aMainShape;