Export Global Element ID to Ansys cdb-File

Hey,

I want to assign elements of a region to different blocks and export this to an cdb-File in a way, that the Element is defined via the Global Element ID in the cdb-File.

How can I accomplish this? Does anyone have an idea?

I am thankful for any advice.
Best regards
Andreas

Here is a trivial example. The script creates two volumes assigns each volume to a block and exports to ANSYS cdb.

reset
bri x 10
vol 1 copy move x 10
merge all
mesh vol all
block 1 vol 1
block 2 vol 2
export ansys cdb "two_blocks.cdb" overwrite

The export file has two EBLOCKS, 1 and 2. The element ids are highlighted in the in the image.

Does this answer your question?