How to set the Modal Environment to say None?
(https://innovationspace.ansys.com/forum/forums/topic/act-script-for-modal-environment-in-harmonic-response-analysis)
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