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.

Types

Functions Signatures

c4d.modules.sculpting.MakeSculptObject()

Adds a SculptTag to the PolygonObject obj.

c4d.modules.sculpting.GetSelectedSculptObject()

Gets the currently selected SculptObject in the document.

Functions Documentation

c4d.modules.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.

c4d.modules.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.