2025-09-22
05:45 AM
- last edited on
2025-09-23
04:11 PM
by
Laszlo Nagy
I want to obtain the complete path of the.ies file of the ies light. How can I get it through the C++api?
2025-10-14
10:06 PM
- last edited on
2025-10-15
12:58 AM
by
Laszlo Nagy
Hi @WalterWhite
In Archicad 28 the .ies files were in the following filepath: C:\Program Files\Graphisoft\Archicad 28\Archicad Library 28\IES Samples for Light 27 and also as a libpack: C:\Program Files\Graphisoft\Archicad 28\Archicad Library Packages\Light Sources.libpack
In Archicad 29 they are also in a libpack: Light Sources.libpack> Object Library> Light Sources> General Light Sources
C:\Program Files\Graphisoft\Archicad 29\Archicad Library Packages\Light Sources.libpack
If what you need ia a new .ies file it can be loaded to the embedded library as a new object with Library Manager tool.
Regars
2025-10-16 04:57 PM
Hi!
Building on Ricardo's answer, if you want to look for library parts in all libraries, you can use the FindLibParts function.
An example code can be found in the 'LibraryManagement_Test' example project.
Hope that helps,
Bernd