c4d.modules.hair.HairSelectionTag

Definition

class c4d.modules.hair. HairSelectionTag

Inheritance

Members

HairSelectionTag. __init__ ( )
Return type: c4d.modules.hair.HairSelectionTag
Returns: A new hair selection tag.
HairSelectionTag. GetSelected ( )

Gets the selection.

Return type: c4d.BaseSelect
Returns: The selection or None .
HairSelectionTag. SetSelected ( bs )

Sets the selection.

Parameters: bs ( c4d.BaseSelect ) – The selection.
Return type: bool
Returns: True on success, otherwise False .
HairSelectionTag. GetSelectionType ( )

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 ( 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 ( )

Gets the count.

Return type: int
Returns: Number of elements.
HairSelectionTag. GetSegments ( )

Gets the segment count.

Return type: int
Returns: Number of segments.

Table Of Contents