c4d.modules.sculpting.SculptLayerBase¶
-
class
c4d.modules.sculpting.SculptLayerBase¶ New in version R15.037.
Parent Class:
Children Classes:
Overview¶
Layer Management |
|
Check if the layer is currently locked on the sculpt object. |
|
Check if the layer is currently visible on the sculpt object. |
|
Select the layer. |
|
Set the locked status of the layer on the sculpt object. |
|
Set the visibility of this layer on the sculpt object. |
|
Strength Control |
|
Get the currents strength of the layer. |
|
Set the strength of the layer on the sculpt object. |
|
Members¶
Layer Management¶
-
SculptLayerBase.IsLocked(self)¶ Check if the layer is currently locked on the sculpt object.
- Return type
bool
- Returns
True if locked, False if unlocked.
-
SculptLayerBase.IsVisible(self)¶ Check if the layer is currently visible on the sculpt object.
- Return type
bool
- Returns
True if visible, False if invisible.
-
SculptLayerBase.Select(self)¶ Select the layer.
Note
This will only work if the subdivision level is at the same level as this layer.
- Return type
bool
- Returns
True if the layer was selected, otherwise False.
-
SculptLayerBase.SetLocked(self, state)¶ Set the locked status of the layer on the sculpt object.
- Parameters
state (bool) – The locked state.
-
SculptLayerBase.SetVisible(self, state)¶ Set the visibility of this layer on the sculpt object.
- Parameters
state (bool) – The visibility state.