#### 6.5.20.1. PlyBook

`class compolyx.PlyBook`(name='PlyBook', parent=None, reST_ply='', reST_chapter='', reST_title_page='', scene=None)

Class to represent a ply book

`chapters`

  Dictionary with all chapters defined.

`create_chapter`(name, view=None, ply_entities=[])

  Add a chapter to the Ply book

  Parameters

  - name : Name of the chapter to be added

  - view : The view for snapshots of the chapter

  - ply_entities : List of modeling plies and modeling groups for the chapter

`generate`(filename, format=None)

  Generate the complete plybook

  Parameters

  - filename : output filename

  - format : pdf, html, odt, txt

`reST_chapter`

  reST chapter template

`reST_ply`

  reST ply template

`reST_title_page`

  reST title page template

Release 18.2 - © ANSYS, Inc. All rights reserved.