- TCollection_AsciiString aStr, aStrLen ((double)theLength), aStrFlag ((int)theIsStart);
- SMESH_Gen_i::AddObject(aStr, _this()) += ".SetLength(";
- aStr += aStrLen + ", " + aStrFlag + ")";
-
- SMESH_Gen_i::AddToCurrentPyScript(aStr);
+ SMESH::TPythonDump() << _this() << ".SetLength( "
+ << theLength << ", " << theIsStart << " )";