Tech Articles
Apex Iberian Lynx: Change Decimal Symbol for Apex only
Tech Articles ID | KB8023676 | |
Status: | Published | |
Published date: | 02/12/2019 | |
Updated: | 03/01/2019 | |
Reported In: | MSC Apex | |
Created with Version: | MSC Apex (Iberian Lynx) |
Abstract (Question)
Apex takes over the decimal symbol from the settings in the system. I use the German format with comma as decimal symbol and I don't want to change that.
Is there a setting that allows me to use a dot instead of a comma in Apex only?
Description (Answer)
In Apex you cannot set the user language properties independent of the system but you can set it in a batch script before you start Apex.
The script and the required xml files are in the attached archive.
Setup:
- Extract the attached archive in a folder of your choice, e.g. C:\Apex-Settings
- Edit the “Change_Language.bat “ file:
a) Change the Apex installation folder according to your requirements:
call "C:\MSC.Software\MSC Apex\2019-623712\runMSC_Apex.bat"
b) Replace the path of the .xml files according to your requirements:
control intl.cpl,, /f:"C:\Apex-Settings\US.xml"
control intl.cpl,, /f:"C:\Apex-Settings\DE.xml"
- Copy the Apex Desktop Icon
- Replace the Target command in the Icon Properties (right mouse button click on the icon)
From
"C:\MSC.Software\MSC Apex\2019-623712\runMSC_Apex.bat"
To
C:\Windows\System32\cmd.exe /c "C:\Apex-Settings\Change_Language.bat"
NOTE: this is a use-at-your-own- risk solution. Please make sure to validate it does as desired on a
sample before using it on your real model, and as always, make a backup of the real model before using
this script.