3DCoat Core API
The 3DCoat API documentation.
No Matches

The simplest program - just show the Hello world!

// The simplest program - just show the Hello world!
#include <CoreAPI.h>
//If you need the release build at full speed please change the Debug below to Release
//@config: Debug
// The main() will be called as soon as user will run the script
int main(){
// just show the text in the dialog with the OK button.
// most of 3DCoat functions accesible using the coat namespace
// just type coat:: and seek for the required function
coat::dialog().text("Hello world!").ok().show();
return 0;
the rich dialog. You may customize it, show your custom parameters and custom buttons.
Definition CoreAPI.h:1493
dialog & ok()
add Ok button
int show()
Show the dialog. This is usually the last command in the chain.
dialog & text(const char *id)
pass the header text of the dialog