On 21/10/2013 at 01:15, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
Hi.
Please tell me how to retrieve the icon image of the primitive objects.
When you get the icon in the code below, and you will get a copy of the entire icon red circle
BaseObject* op=doc->GetFirstObject();
IconData icon;
GetIcon(op->GetType(), &icon;);
DrawBitmap(icon.bmp,100,100,24,24,0, 0, icon.w, icon.h,BMP_ALLOWALPHA);