BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Convert GS::UniString to Int32

Newbie
Participant

Hello,

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

 

1 ACCEPTED SOLUTION

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

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

View solution in original post

2 REPLIES 2
Solution
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-Ac27
Learn and get certified!

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!