Discrepancies in quantity and properties of edge connections using Model.AddElements [SOLVED]

Hello again,

During testing and debugging my script, which setting up a correct mesh size for surface elements I found out sth interesting. Simple script, which use Model.AddElements:

image

This is how wall looks like orginially:

And after using script:

In every instances, where wall edge was divided into 2 or more pieces, division gone as well as edge connection properties is not correctly placed.

Do you have any idea how to make it work properly?

I have to use Overwrite option, due to another problem with not allowing to copying line connections with pre-defined library, which is described there: Copying point & line connections in 22.9.0 version [SOLVED] - #5 by Tomasz_Gniady

@Tomasz_Gniady

It would be great if you can isolate the problem and send us a small script/file to allow us to replicate the problem.

As you wish, please find attached files.
Mesh size setting up-edge conn error.zip (5.8 MB)

Issue similar to the following thread.

It looks like a Bug

1 Like

Last thing, ordering works, but do you have any idea why some of edges disappear?
Original model:

Model with script:

Instead of 3 edges, there is 1 edge only. It’s really important for results from analysis. Without copying correct quantity of edges unfortunately, script will be not useful :confused:

@Tomasz_Gniady

I do not see any duplicate edges in the .str

Can you please send me a model with edge connections on the same edge?

image
Please find attached 2 models.
No 1: Model adjusted by script
No 2: Original model for comparision.
Edge-Connection - quantity error.zip (6.5 MB)

There is a differences between quantity of edge connections, which I mentioned on figures above.

@Tomasz_Gniady
I can still do not find the edge connections as you have showed me in your picture.

@MarcoPelle
The easiest way will be open view in axis “D.B”. I show where to find it on picture below:

@Joakim

The user has a wall element with some edge connection specified at the edges.
If we save the file in .struxml, the file is written correctly (5 edges, with some edge connections assign to them), however, if we open the .struxml in FEM-Design, the edge connections will be set in a different way. Is this a bug?

.str file

.struxml file

EdgeConn-Simple.zip (2.1 MB)

@Tomasz_Gniady

Unfortuntely, it looks like we have a bug in FEM-Design and the issue is not related to the API.
We have opened a case and we will follow up when it is solved.

Of course I’ll wait for the results.
Thank you for all your commitment.

@Tomasz_Gniady
Looks like that FEM-Design will not fix the issue in the short period.

However, as a workaround, I do suggest to do the following:

@Tomasz_Gniady

The bug has been solved and the model will keep the edge connection as specified!

1 Like