Chapter
Last update: 16.07.2025class compolyx.Chapter(name, parent, view=None, ply_entities=(), id=0, show_rosettes=True)
Class to represent plybook chapter.
Attributes
| Name | Description |
|---|---|
Chapter.is_dict_item |
Specifies whether the object is an item of a dict |
Chapter.is_list_item |
Specifies whether the object is an item of a list |
Chapter.link_path |
Root path of the current node in the tree for links to this object |
Chapter.name |
Name of object |
Chapter.parent |
Parent object in tree |
Chapter.ply_entities |
Plies/PlyGroups for the chapter |
Chapter.root_path |
Root path of the current node in the tree |
Chapter.show_rosettes |
Show the rosettes linked to a ply in snapshots |
Chapter.view |
Methods
| Name | Description |
|---|---|
Chapter.find_parent(type) |
Steps up the tree and returns the first parent with given type |
Chapter.generate_reST(reST_chapter_template, ...) |
Get the interpolated reST string for the chapter |
Chapter.get_production_plies() |
Return a list of production plies which are associated with this chapter |
Chapter.serialize() |
|
Chapter.update() |
|
Chapter.visit(visitor) |
Walk through the tree and let the visitor perform an action on every descendant node |