c4d.modules.hair.HairSelectionTag

class c4d.modules.hair.HairSelectionTag

Methods Signatures

HairSelectionTag.__init__(self)

rtype

c4d.modules.hair.HairSelectionTag

HairSelectionTag.GetSelected(self)

Gets the selection.

HairSelectionTag.SetSelected(self, bs)

Sets the selection.

HairSelectionTag.GetSelectionType(self)

Get the selection type.

HairSelectionTag.SetSelectionType(self, mode)

Set the selection type.

HairSelectionTag.GetCount(self)

Gets the count.

HairSelectionTag.GetSegments(self)

Gets the segment count.

Inheritance

Parent Class:

Methods Documentation

HairSelectionTag.__init__(self)
Return type

c4d.modules.hair.HairSelectionTag

Returns

A new hair selection tag.

HairSelectionTag.GetSelected(self)

Gets the selection.

Return type

c4d.BaseSelect

Returns

The selection or None.

HairSelectionTag.SetSelected(self, bs)

Sets the selection.

Parameters

bs (c4d.BaseSelect) – The selection.

Return type

bool

Returns

True on success, otherwise False.

HairSelectionTag.GetSelectionType(self)

Get the selection type.

Return type

int

Returns

The type:

HAIR_MODE_LOCKED

Locked mode

HAIR_MODE_HIDDEN

Hidden mode.

HAIR_MODE_TIPS

Tips mode.

HAIR_MODE_POINTS

Points mode.

HAIR_MODE_GUIDES

Guides mode.

HAIR_MODE_ROOTS

Roots mode.

HAIR_MODE_VERTEX

Vertex mode.

HairSelectionTag.SetSelectionType(self, mode)

Set the selection type.

Parameters

mode (int) –

The type:

HAIR_MODE_LOCKED

Locked mode

HAIR_MODE_HIDDEN

Hidden mode.

HAIR_MODE_TIPS

Tips mode.

HAIR_MODE_POINTS

Points mode.

HAIR_MODE_GUIDES

Guides mode.

HAIR_MODE_ROOTS

Roots mode.

HAIR_MODE_VERTEX

Vertex mode.

HairSelectionTag.GetCount(self)

Gets the count.

Return type

int

Returns

Number of elements.

HairSelectionTag.GetSegments(self)

Gets the segment count.

Return type

int

Returns

Number of segments.