Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

How to store a picture in to an object?

Anonymous
Not applicable
I found out that a UI_PICT can refer to an 'indexed' picture stored in the library part. So this makes it possible to make one file for all the components of a UI-script.
But how?
3 REPLIES 3
Laszlo Nagy
Community Admin
Community Admin
Maybe you should check out the default library for examples.
For example, Doors have many available panels. The image showing the previews of the various panels uses this solution I think. Check that and you will probably find out.

There is an old AC-Talk thread about this:

http://archicad-talk.graphisoft.com/viewtopic.php?t=15114

Also see the Online Help:

http://helpcenter.graphisoft.com/guides/gdl-guide-for-archicad-18/chapter-9-non-geometric-scripts/th...
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Anonymous
Not applicable
Hello,

Place pictures in the floor plan, select them
and save selection as an object.

That way the pics are stored in the object and you can
refer to them with index 1,2,3 etc. Index 0 refers
to the preview picture of the object.
Hmooslechner
Moderator
It would be one of my big wishes at Graphisoft to build a simple possible way to add pictures to existing elements - because if you are working deep in the developing process - it is simply not possible to know all pictures you will need later in Your new gdl - UI.

The ideas for the IU are coming later in this programming-process.

There is a possibility to add pictures later over xml-converter - but there is not much "support" ore "documentation" from Graphisoft at this option - for simle minds like mine.

There should be some sort of button in the GDL-programming enviroment to add pictures directly!

I copy this at the wishes-part!
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia