c4d.modules.sculpting.SculptLayerBase

class c4d.modules.sculpting.SculptLayerBase

New in version R15.037.

Parent Class:

Children Classes:

Overview

SculptLayerBase.Select

Select the layer.

SculptLayerBase.IsVisible

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

SculptLayerBase.SetVisible

Set the visibility of this layer on the sculpt object.

SculptLayerBase.IsLocked

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

SculptLayerBase.SetLocked

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

SculptLayerBase.GetStrength

Get the currents strength of the layer.

SculptLayerBase.SetStrength

Set the strength of the layer on the sculpt object.

Members

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.