c4d.modules.graphview

class c4d.modules.graphview

Types

Functions Signatures

c4d.modules.graphview.GetMaster(id)

Get one of the current active master nodes.

c4d.modules.graphview.SetPrefs(bc)

The new preferences. Use these container IDs:

c4d.modules.graphview.GetPrefs()

Gets the preferences for this world.

c4d.modules.graphview.OpenDialog(id, master)

Opens the Xpresso dialog for a specific node master.

c4d.modules.graphview.CloseDialog(id)

Closes a dialog opened with OpenDialog().

c4d.modules.graphview.RedrawMaster(master)

Redraws the GvNodeMaster.

c4d.modules.graphview.GetDefaultOperatorIcon(type)

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 (long) – The ID of the master node.

Return type

c4d.modules.graphview.GvNodeMaster

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

c4d.BaseContainer

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
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

c4d.bitmaps.BaseBitmap

Returns

The default operator icon.