Modal enviroment
Erik Kostson
Member, Employee Posts: 209
✭✭✭✭
How to set the Modal Environment to say None?
0
Comments

Assuming the harmonic analysis is the 3rd system (so we have 1 static, modal, and harmonic/msup), then the below sets it:
model = ExtAPI.DataModel.Project.Model analysism=model.Analyses[1] # get modal analysis analysis=model.Analyses[2] # get harmonic modal=analysis.Children[0] modal.ModalICEnvironment=None
if we want to set it back to the modal:
modal.ModalICEnvironment=analysism
0
This discussion has been closed.