Special characters in batchscripts for SimSolid

SamHatami
Altair Community Member
Hi! I'm trying to create batch scripts for SimSolid. Many of our parts have special characters and language-specific characters (å ä ö). The issue becomes obvious when trying to apply materials, for instance in this case:
study.applyMaterial({material: 'Steel', partNameMask: 'Disc Ø97:1'});
The part name just becomes "Disc" in SimSolid and no material is applied.
Do you know any way around this, except not using special characters, because that is unfortunately not an option?
SimSolid does read special characters correctly if I open a STEP file, so is there something hidden in the JavaScript API I can't find? Thank you for your time.
0