c4d.modules.sculpting.SculptLayerBase

class c4d.modules.sculpting.SculptLayerBase

New in version R15.037.

Methods Signatures

SculptLayerBase.Select(self)

Select the layer.

SculptLayerBase.IsVisible(self)

Check if the layer is currently visible on the sculpt object.

SculptLayerBase.SetVisible(self, state)

Set the visibility of this layer on the sculpt object.

SculptLayerBase.IsLocked(self)

Check if the layer is currently locked on the sculpt object.

SculptLayerBase.SetLocked(self, state)

Set the locked status of the layer on the sculpt object.

SculptLayerBase.GetStrength(self)

Get the currents strength of the layer.

SculptLayerBase.SetStrength(self, strength)

Set the strength of the layer on the sculpt object.

Inheritance

Parent Class:

Children Classes:

Methods Documentation

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.IsVisible(self)

Check if the layer is currently visible on the sculpt object.

Return type

bool

Returns

True if visible, False if invisible.

SculptLayerBase.SetVisible(self, state)

Set the visibility of this layer on the sculpt object.

Parameters

state (bool) – The visibility state.

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.SetLocked(self, state)

Set the locked status of the layer on the sculpt object.

Parameters

state (bool) – The locked state.

SculptLayerBase.GetStrength(self)

Get the currents strength of the layer.

Return type

float

Returns

The strength value.

SculptLayerBase.SetStrength(self, strength)

Set the strength of the layer on the sculpt object.

Parameters

strength (float) – The strength value to set.