cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Archicad C++ API
About Archicad add-on development using the C++ API.

How can I obtain the complete path of the ies lighting file of Archicad?

WalterWhite
Contributor

I want to obtain the complete path of the.ies file of the ies light. How can I get it through the C++api?

 

WalterWhite_0-1758512811662.png

 

2 REPLIES 2
Ricardo Lopez
Expert

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

 

RicardoLopez_0-1760472150395.png

 

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

 

 

M. Arch. Ricardo López
BIM Consultant | Project Solutions and Services | Panama
AC17-29 SPA+INT | Windows 11 | MSI CreatorPro M16 HX C14VJG, 64GB, Nvidia Quadro RTX 2000 Ada Generation

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

Automating Archicad with Add-Ons, GDL-Objects & Python Archi-XT.com