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
This behavior is seen only in embedding but no issues with batch mode or with Mechanical scripting window.
To replicate this after importing a geomtry
part_id_list = [3,7]
geo_part_list = [ExtAPI.DataModel.GeoData.GeoPartById(id) for id in part_id_list]
Model.DeleteParts(geo_part_list)
CRITICAL - - logging - handle_exception - Uncaught exception
Traceback (most recent call last):
File "C:\Users\dkunhamb\Downloads\K18_Board (1)\K18_Board\pymech.py", line 21, in <module>
Model.DeleteParts(geo_part_list)
System.ArgumentException: Argument must be an `IGeoPart` or collection!
Parameter name: parts
at Ansys.ACT.Automation.Mechanical.Model.DeleteParts(Object parts)
The text was updated successfully, but these errors were encountered:
This behavior is seen only in embedding but no issues with batch mode or with Mechanical scripting window.
To replicate this after importing a geomtry
The text was updated successfully, but these errors were encountered: