This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.modules.hair.HairObject – hair guide class

The hair object.

class c4d.modules.hair.HairObject

SuperClass

BaseList2D

Methods

HairObject.GetGuides()

Gets the guides of this hair object.

Return type:HairGuides
Returns:The guides.
HairObject.GetDynamicGuides()

Gets the dynamic guides of this hair object.

Return type:HairGuides
Returns:The dynamic guides.
HairObject.RemoveGuides()
Removes the guides of this hair object.
HairObject.GetRootObject()

Gets the root object and tag:

root = ho.GetRootObject()
if not root: return

print root["pObject"], root["pTag"] #BaseObject, BaseTag
Return type:dict
Returns:The root object and tag or None.
HairObject.Update()

Updates this hair object.

Return type:bool
Returns:True if successful, otherwise False.
HairObject.SetGuides(guides, clone)

Sets guides for this hair object.

Parameters:
  • guides (HairGuides) – Guides to set.
  • clone (bool) – Clone the supplied guides.

Table Of Contents

This Page