Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Return the gsm filename as string associated with an element

Emkave
Enthusiast

Good day again, had somebody have the idea of how I could return a string that would contain a GSM filename, that an element I selected is associated with, via the API?

I was looking into the API functions that were related to LibPart but so far nothing useful was found, so I decided to post this thread here just in case if anyone else had had to deal with it before.

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Apologies. I have found the solution. The solution was stored inside of an API_LibPart object; the data that I was searching for was located at:
API_LibPart::file_UName.


View solution in original post

2 REPLIES 2
LChen
Graphisoft
Graphisoft

Hi, sorry I'm not so clear what did you mean a GSM associates with an element, did you mean, like the case of Label object?

Solution

Apologies. I have found the solution. The solution was stored inside of an API_LibPart object; the data that I was searching for was located at:
API_LibPart::file_UName.