create local mesh #6359
Closed
KlausNeumaier
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi @KlausNeumaier, please check that you pass a list of strings to assignment and not a list of Also: you will get some warning messages in the message windows. It is a known bug (#5926), but the creation of the mesh region will be successful. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am creating a local mesh by
mesh_region = ipk.mesh.assign_mesh_region(assignment = object_names, name=mesh_name)
The version is 2025R1
The error I get is :
[error] File XXX, line 543, in
[error] mesh_region = ipk.mesh.assign_mesh_region(assignment = object_names, name=mesh_name)
[error] AEDT API Error on create_subregion
[error] Last Electronics Desktop Message - [error] script macro error: abnormal script termination. ()
[error] Method arguments:
[error] padding_types = Percentage Offset
[error] assignment = [<ansys.aedt.core.modeler.cad.object_3d.Object3d object at 0x00000218A48A08D0>, <ansys.aedt.core.modeler.cad.object_3d.Object3d object at 0x00000218A488CCD0>]
[error] name = SubRegion_7FICCC
[error] **************************************************************
[error] **************************************************************
[error] File XXX line 543, in
[error] mesh_region = ipk.mesh.assign_mesh_region(assignment = object_names, name=mesh_name)
[error] 'nonetype' object has no attribute 'name' on create
[error] Last Electronics Desktop Message - [error] script macro error: abnormal script termination. ()
[error] **************************************************************
Any idea what's going wrong.
Thank you very much
Klaus
Beta Was this translation helpful? Give feedback.
All reactions