2021-01-1502:20 AM - last edited on 2021-09-1404:35 AM by Noemi Balogh
Hello, I am currently trying to work with Building Materials. First, I create a Building material and add it to the list. This works fine and all the information is there (including ID, manufacturer, description). However, when I try to access those, they are all NULL.
In case of id, manufacturer and description parameters Archicad fills these values only if they are pointing to an existing GS::UniString object. In your code all of them are null pointers, so they don't filled.
You can use something like this to make it work (it accesses only the manufacturer data, but should work for the other two as well):