Choose your top Archicad wishes!

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

UI_Pict merged in gsm file?

Anonymous
Not applicable
Hi!

I'm kind of new in making archicad scripts and i have a little problem when writing interfacescript.
I want to have a little logo (image) in my interfacebox. The problem is that i want the image file to be merged with the object file.

My code goes like this now UI_PICT "Logo.jpg", 0, 0, 1
and with that code i have to import the Logo.jpg file in library manager to see it.

I have seen files with the code like UI_PICT 1, 0, 0, 1

How do they intergrate their pictures and make them refer to a number??


Im hope someone can help me! Thanks!
2 REPLIES 2
Anonymous
Not applicable
Image can be built using LP_XMLConverter tool
or if from the very beginning of a picture and save it as a library item, it will go to the index 1 (if one image)
In the future, writing any scripts, change the subtype of your logo will remain within the element.
Anonymous
Not applicable
Hello,

As sl_gdl suggest, place the image(s) in the
floor plan, select them and save as an object ->
the images are saved in the object binary. You
can refer to them with index 1,2,3 and so on.

If you have just one image you can place it
in the object preview - it has the index number 0.