2025-09-22
05:45 AM
- last edited
a month ago
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?
a week ago
- last edited
a week ago
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
a week ago
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