Dear scripting community,
I am currently struggeling with sorting of a BOM Import according to a hierarchy path that is described in the Excel with "\" as separator.
The structure of the column looks like this and shall be translated into a hierarchy in medini.
| Hierarchy Block | Hierarchy Path | | Big Block | \$1 | | Internal Block | \$1\$2 | | Inherited Internal Block | \$1\$2\$3 | | Inherited in inherited Block Block | \$1\$2\$3\$4 |
|
|
The result in medini shall look like this.

This is my current status of the script which is an adaptation of the common Restructuring HW Model Script.
Your help and hints are highly appreciated ;-)
Happy Scripting
Joël