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(obj, doc) |
Adds a SculptTag to the PolygonObject obj. |
c4d.modules.sculpting.GetSelectedSculptObject(doc) |
Gets the currently selected SculptObject in the document. |
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.- obj (c4d.PolygonObject) – The
-
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: SculptObjectReturns: The currently selected SculptObject, or None if none is selected.