FEM: fix in ShellThicness and BeamSection
This commit is contained in:
parent
2b89aab8f3
commit
b4d99aa570
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user