On 15/08/2013 at 11:04, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Windows ;
Language(s) : C++ ;
---------
How do we load the C++ SDK ExampleDataType gizmo into our plugins?
It has multiple gizmos in it. So I don't know what type to assign to it in my plugin's .res file.
Example:
CONTAINER myObject
{
NAME myObject;
INCLUDE Obase;
GROUP ID_OBJECTPROPERTIES
{
//Here are some examples of loading custom gizmos that work
//SPLINE MY_GUI {} Works Loads the spline custom gui
//REAL MY_GUI {CUSTOMGUI REALSLIDER;} Works Loads the slider custom gui(REAL type)
//LONG MY_GUI { CUSTOMGUI LONGSLIDER; } Works Loads the slider custom gui(LONG type)
//Trying to load the C++ SDK ExampleDataType gizmo
LONG MY_GUI { CUSTOMGUI CUSTOMDATATYPE_EXAMPLE; } <//<----- Wrong!!!!
LONG MY_GUI { CUSTOMGUI ExampleDataType; } <//<----- Wrong!!!!
}
}
How do load this thing?
-ScottA