BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Archicad C++ API
About Archicad add-on development using the C++ API.

Image format

Anonymous
Not applicable
Dialog items support only 8-bit images ?
3 REPLIES 3
Akos Somorjai
Graphisoft
Graphisoft
Rinovo wrote:
Dialog items support only 8-bit images ?
Which type? The Picture type does support 32-bit images, AFAIK. You'll have to specify a GBMP resource for that, not a GICN.

Best, Akos
Anonymous
Not applicable
Thanks Akos,

Yes i was using GICN.
But GBMP is only usable with 'STR#' menu or with 'GDLG' dialog also ?

I specified my picture as GBMP but for unknown reason i get error "file not found"
'GBMP' 32500 "picture" { 
			"picture" 
}

RFIX/Images/picture.bmp
Akos Somorjai
Graphisoft
Graphisoft
Rinovo wrote:
Thanks Akos,

Yes i was using GICN.
But GBMP is only usable with 'STR#' menu or with 'GDLG' dialog also ?

I specified my picture as GBMP but for unknown reason i get error "file not found"
'GBMP' 32500 "picture" { 
			"picture" 
}

RFIX/Images/picture.bmp
Yes, there is a separate Picture type dialog item (similar to Icon). On the other hand, icon buttons and the like can only use icons, not pictures.

Best, Akos
Learn and get certified!