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
SculptTag
to thePolygonObject
obj.Note
If one does not exist then return the
SculptObject
that the newly createdSculptTag
references.- Parameters
obj (c4d.PolygonObject) – The
PolygonObject
to add theSculptTag
to.doc (c4d.documents.BaseDocument) – The document that obj belongs to.
- Return type
- Returns
The
SculptObject
that theSculptTag
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 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.