c4d.modules.sculpting

class c4d.modules.sculpting

New in version R15.037.

See also

All plugins examples starting with py-sculpt prefix in the GitHub repository.

Overview

static sculpting.MakeSculptObject

Adds a SculptTag to the PolygonObject obj.

static sculpting.GetSelectedSculptObject

Gets the currently selected SculptObject in the document.

Members

sculpting.MakeSculptObject(obj, doc)

Adds a SculptTag to the PolygonObject obj.

Note

If one does not exist then return the SculptObject that the newly created SculptTag references.

Parameters
Return type

SculptObject

Returns

The SculptObject that the SculptTag is referencing.

sculpting.GetSelectedSculptObject(doc)

Gets the currently selected SculptObject in the document.

Note

This will be the first selected PolygonObject that has a SculptTag.

Parameters

doc (c4d.documents.BaseDocument) – The document to search.

Return type

Optional[SculptObject]

Returns

The currently selected SculptObject, or None if none is selected.