Skip to content

Latest commit

 

History

History

py_cmd_gui_simple

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Example py_cmd_gui_simple

Demonstrates a simple dialog with two number input fields, a combo box and a button to carry out numeric operations on the two numbers.

Preview

DETAILS

Open this dialog example by running the command "Py - Simple Gui" in the Commander (Shift + C). This is a very simple dialog example, which demonstrates how to create a dialog with a few gadgets, how to handle user input, and how to display results in a multi-line edit text field.

To run this example, place the file in the Cinema 4D plugins folder and restart Cinema 4D.

Topics:

  • GeDialog.CreateLayout() and how to use it build a GUI.
  • GeDialog.InitValues() to set initial values of the dialog.
  • GeDialog.Command() to handle user input.
  • Using a custom GUI.
  • Implementing a very simple gui-value abstraction.
  • The pattern for implementing a command plugin that manages a dialog.

FILES

File Description
py_cmd_gui_simple.pyp Demonstrates a simple dialog with two number input fields, a combo box and a button to carry out numeric operations on the two numbers.
README.md This file.
preview.png Preview image for the plugin.