Types
Functions Signatures
Get one of the current active master nodes. |
|
The new preferences. Use these container IDs: |
|
Gets the preferences for this world. |
|
Opens the Xpresso dialog for a specific node master. |
|
Closes a dialog opened with |
|
Redraws the |
|
Gets the default operator icon for an operator type. |
Functions Documentation
-
c4d.modules.graphview.
GetMaster
(id)¶ Get one of the current active master nodes.
- Parameters
id (int) – The ID of the master node.
- Return type
- Returns
The master node identified by id.
-
c4d.modules.graphview.
SetPrefs
(bc)¶ The new preferences. Use these container IDs:
- Parameters
bc (c4d.BaseContainer) –
The new preferences.
GV_WORLD_CONFIG_UNDO_DEPTH
int
GraphView undo depth preference.
-
c4d.modules.graphview.
GetPrefs
()¶ Gets the preferences for this world.
- Return type
- Returns
A copy of the preferences.
GV_WORLD_CONFIG_UNDO_DEPTH
int
GraphView undo depth preference.
-
c4d.modules.graphview.
OpenDialog
(id, master)¶ Opens the Xpresso dialog for a specific node master.
- Parameters
id (int) – Plugin ID.
master (c4d.modules.graphview.GvNodeMaster) – Node master to open the dialog for.
- Return type
bool
- Returns
True if the dialog was opened, otherwise False.
-
c4d.modules.graphview.
CloseDialog
(id)¶ Closes a dialog opened with
OpenDialog()
.- Parameters
id (int) – The ID that the dialog was opened with.
-
c4d.modules.graphview.
RedrawMaster
(master)¶ Redraws the
GvNodeMaster
.- Parameters
master (c4d.modules.graphview.GvNodeMaster) – The nodemaster to redraw.
-
c4d.modules.graphview.
GetDefaultOperatorIcon
(type)¶ Gets the default operator icon for an operator type.
- Parameters
type (int) –
Operator type:
GV_OPERATOR_TYPE_INVALID
Invalid.
GV_OPERATOR_TYPE_GROUP
Group.
GV_OPERATOR_TYPE_NODE
Node.
GV_OPERATOR_TYPE_DUMMY
Dummy.
GV_OPERATOR_TYPE_GENERAL
General.
GV_OPERATOR_TYPE_CALCULATE
Calculate.
GV_OPERATOR_TYPE_ITERATOR
Iterator.
GV_OPERATOR_TYPE_BOOL
Bool.
GV_OPERATOR_TYPE_LOGICAL
Logical.
GV_OPERATOR_TYPE_ADAPTER
Adapter.
GV_OPERATOR_TYPE_THINKINGPARTICLES
Thinking particles.
- Return type
- Returns
The default operator icon.