Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Instead of OnEnvironmentChange I have used OnActiveDocument event to disable or enable custom command and it's work fine. Dynamic simulation and Stress Analysis is not disabled by this method.

Regards,
Jatin Devaiya

If a response answers your question, please use ACCEPT SOLUTION to assist other users later.


Also be generous with Likes! Thank you and enjoy!