cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Automatic images in objects

Not applicable
Hello to all,

what is the script to automatically see the images in the library inside an object (for example object Carpet)?

At the moment it only works if I enter the parameter gs_picture_name.
Is it possible to use this function also with other parameters?

Thanks so much

undefined
3 REPLIES 3
You have to paste the image into "preview picture"

Piotr
Jochen Suehlo
Moderator
You can find the Script for this in the automatically loaded "ArchiCAD_Library_Master.gsm". In the MasterScript there is:
dim	stCustomPicFiles[]
bCustomPicFileExist	= APPLICATION_QUERY ("LIBRARY_MANAGER", "USER_IMAGE_FILES", stCustomPicFiles)
if bCustomPicFileExist then
	values "gs_picture_name" stCustomPicFiles, CUSTOM
	values "gs_picture_name_2D" stCustomPicFiles, CUSTOM
endif
So at least you can use gs_picture_name_2D.
Or you can define your own using the Application Query above (I hope)
Jochen Suehlo . AC12-28 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
Not applicable
Thank you so much

Ste