cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie
Participant

Convert GS::UniString to Int32

Hello,

Is there any function to convert unistring to int32 in API?.

 

1 Solution

Accepted Solutions
Viktor Kovacs
Graphisoft
Graphisoft
#include <StringConversion.hpp>

GS::UniString strVal = "42";
Int32 intVal;
GS::UniStringToValue (strVal, intVal);

Go to post

2 Replies 2
Viktor Kovacs
Graphisoft
Graphisoft
#include <StringConversion.hpp>

GS::UniString strVal = "42";
Int32 intVal;
GS::UniStringToValue (strVal, intVal);
Laszlo Nagy
Community Admin
Community Admin

This is the ultimate answer to life, the universe, and everything. 😁

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!