The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (Archicad API, BIMx API, BIMcloud API) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy, rmasaki, Viktor Kovacs, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy

I am try to change the Navigator Item "overrideCombination" and the type defination is " GS::uchar_t overrideCombination[API_UniLongNameLen];".

Using the "ACAPI_Override_GetOverrideCombination(combination, nullptr);" I am retrieving override combination "name" which is of type GS::UniString.

So whenever I trying to set the "API_NavigatorView.overrideCombination" with combination name it's showing error as it's trying to convert GS::UniString to GS::uchar_t.

Any suggestion how can I convert Unistring to GS::uchar_t and also how can I change "overrideCombination" item of the Navigator Item?
Override error.PNG
Override error.PNG (34.09 KiB) Viewed 148 times