FEM: fix in ShellThicness and BeamSection
This commit is contained in:
@@ -61,7 +61,10 @@ class _CommandFemBeamSection:
|
||||
FreeCADGui.doCommand("App.activeDocument()." + FemGui.getActiveAnalysis().Name + ".Member = App.activeDocument()." + FemGui.getActiveAnalysis().Name + ".Member + [App.ActiveDocument.ActiveObject]")
|
||||
|
||||
def IsActive(self):
|
||||
True if FemGui.getActiveAnalysis() else False
|
||||
if FemGui.getActiveAnalysis():
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
class _FemBeamSection:
|
||||
|
||||
@@ -60,7 +60,10 @@ class _CommandFemShellThickness:
|
||||
FreeCADGui.doCommand("App.activeDocument()." + FemGui.getActiveAnalysis().Name + ".Member = App.activeDocument()." + FemGui.getActiveAnalysis().Name + ".Member + [App.ActiveDocument.ActiveObject]")
|
||||
|
||||
def IsActive(self):
|
||||
True if FemGui.getActiveAnalysis() else False
|
||||
if FemGui.getActiveAnalysis():
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
class _FemShellThickness:
|
||||
|
||||
Reference in New Issue
Block a user