Using Icons with Integer Cycle in a Plugin
-
Hello,
As you know, you can use the icons of commands in UserData's Integer Cycle by adding an [iconid].Is it possible to use custom icons with an Integer - Cycle in an ObjectData plugin? If so, would I have to register command plugins in order to use the custom icons or is there a way to register bitmap icons for a plugin's UI without making them commands?
Thank you!
-
-
@kbar Thank you for the reply and helpful link.
And for anyone look to get this working with your Description files: (from https://c4dprogramming.wordpress.com/2013/05/10/long-cycles-with-icons-and-separator/), put the plugin ids in your Description header and this in your Description resource file:
CONTAINER Omyobject { NAME Omyobject; INCLUDE Obase; GROUP ID_OBJECTPROPERTIES { LONG MYOBJECT_ICONCYCLE { CYCLE { MYOBJECT_ICONCYCLE_ITEM_0; -1; MYOBJECT_ICONCYCLE_ITEM_1~Ocube; MYOBJECT_ICONCYCLE_ITEM_2~Opyramid; MYOBJECT_ICONCYCLE_ITEM_3~1021433; } } } }
-1 creates a separator.