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
Adds a |
|
Gets the currently selected |
Functions Documentation
-
c4d.modules.sculpting.MakeSculptObject(obj, doc)¶ Adds a
SculptTagto thePolygonObjectobj.Note
If one does not exist then return the
SculptObjectthat the newly createdSculptTagreferences.- Parameters
obj (c4d.PolygonObject) – The
PolygonObjectto add theSculptTagto.doc (c4d.documents.BaseDocument) – The document that obj belongs to.
- Return type
- Returns
The
SculptObjectthat theSculptTagis referencing.
-
c4d.modules.sculpting.GetSelectedSculptObject(doc)¶ Gets the currently selected
SculptObjectin the document.Note
This will be the first selected
PolygonObjectthat has aSculptTag.- Parameters
doc (c4d.documents.BaseDocument) – The document to search.
- Return type
Optional[
SculptObject]- Returns
The currently selected
SculptObject, or None if none is selected.