inherit FemAnalysis from DocumentObjectGroup and remove Member property

This commit is contained in:
wmayer
2017-10-11 22:04:07 +02:00
parent 8f8f890259
commit ce6809415b
35 changed files with 112 additions and 142 deletions

View File

@@ -440,8 +440,8 @@ std::string TaskFemConstraintTransform::getSurfaceReferences(std::string showCon
{
return "for obj in FreeCAD.ActiveDocument.Objects:\n\
if obj.isDerivedFrom(\"Fem::FemAnalysisPython\"):\n\
if FreeCAD.ActiveDocument."+showConstr+" in obj.Member:\n\
members = obj.Member\n\
if FreeCAD.ActiveDocument."+showConstr+" in obj.Group:\n\
members = obj.Group\n\
A = []\n\
i = 0\n\
ss = []\n\