You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from ansys.mechanical.core import App
app=App(version=252)
app.update_globals(globals())
harmonic_acoustic = Model.AddHarmonicAcousticAnalysis()
harmonic_acoustic.SystemID
this is suppose to show only deprecation warning but with 252 its giving the exception as below.
<stdin>:1: UserWarning: Obsolete: 'SystemID': Property is obsolete, this gets the directory name of the current analysis, not always same as the Workbench level System ID
CRITICAL - - logging - handle_exception - Uncaught exception
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
System.Runtime.InteropServices.COMException: (0x80004005)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <e85874d36dd54c51a7dcd93d72f2c404>:0
at (wrapper cominterop) Ansys.Common.Interop.DSObjectsAuto.IDSAnswerSetAuto.get_WorkingDir()
at (wrapper cominterop-invoke) Ansys.Common.Interop.DSObjectsAuto.IDSAnswerSetAuto.get_WorkingDir()
at Ansys.ACT.Automation.Mechanical.Analysis.get_WorkingDir () [0x00014] in <544882d8fcda455db83dfacecb22b3e2>:0
at Ansys.ACT.Automation.Mechanical.Analysis.get_SystemID () [0x00005] in <544882d8fcda455db83dfacecb22b3e2>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <e85874d36dd54c51a7dcd93d72f2c404>:0
Here is a simple script that throws an exception
this is suppose to show only deprecation warning but with 252 its giving the exception as below.
Originally posted by @dipinknair in #1030 (comment)
The text was updated successfully, but these errors were encountered: