Identify the language name using ObjectARX

<?xml encoding=”UTF-8″>By Virupaksha Aithal

ObjectARX 2017 SDK exposes class “AcLocale” using which language information of the AutoCAD can be retrieved. This “AcLocale” is new class in 2017.

#include "rxregsvc.h"
void getLocal()
{
AcLocale locale = acrxProductLocale();
acutPrintf(locale.iso2LangName());
acutPrintf(locale.iso2CountryName());
}

Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading