Skip to content

Commit b367a1e

Browse files
author
MichalO
committed
update, unit tests: 222 passed, 5 skipped in 526.40s (0:08:46)
1 parent e765c9d commit b367a1e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

RFEM/LoadCasesAndCombinations/modalAnalysisSettings.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from RFEM.initModel import Model, clearAttributes, deleteEmptyAttributes
2-
from RFEM.enums import ModalSolutionMethod, ModalMassConversionType, ModalMassMatrixType, ModalNeglectMasses
1+
from RFEM.initModel import Model, clearAttributes, deleteEmptyAttributes, SetAddonStatus
2+
from RFEM.enums import ModalSolutionMethod, ModalMassConversionType, ModalMassMatrixType, ModalNeglectMasses, AddOn
33

44
class ModalAnalysisSettings():
55

@@ -29,6 +29,8 @@ def __init__(self,
2929
params (dict, optional): Any WS Parameter relevant to the object and its value in form of a dictionary
3030
model (RFEM Class, optional): Model to be edited
3131
"""
32+
SetAddonStatus(Model.clientModel, AddOn.modal_active, True)
33+
3234
# Client model | Surface
3335
clientObject = model.clientModel.factory.create('ns0:modal_analysis_settings')
3436

0 commit comments

Comments
 (0)