On 12/01/2015 at 03:36, xxxxxxxx wrote:
Hello,
I like to show an icon in the Python Dialog. So far I thought it would be simple, but somehow I'm stuck right at the beginning.
First off I get the icon properties:
icon = gui.GetIcon(c4d.RESOURCEIMAGE_MOVE)
bmp = icon["bmp"]
x, y = icon["x"], icon["y"]
then I thought I could simply draw it, but I need a GeUserArea for that, right? Does that still function if I create the layout with AddStaticText?
For instance, I've got a simple dialog box with the selected object including the icon written in that dialog box: "Selected Object: [Icon] Cube"
How does one do that?