Contents Namespaces | Ansys.ACT.Automation.Mechanical Namespace | Solution | Print page AddPythonCodeEventBased()Creates a new PythonCodeEventBasedDeclaration Syntaxpublic virtual PythonCodeEventBased AddPythonCodeEventBased() « AddPrimaryCriterion() AddPythonResult() »