HyperWorks Report 2025 Release Notes

New Features

Python API
Documents can now be created using Python APIs. The newly added classes are:
  • Document()
  • Chapter()
  • DocText()
  • DocImage()
  • DocTable()
DocText(), DocImage(), and DocTable() define a text/image/table inside the document.
They can be constructed using one of the following:
  • A Text/Image/Table object.
  • A string/image or path/csv file path, respectively.
Figure 1.


Use the Document() class to provide a *.docx template and export the document.
Figure 2.


Inside the document, the parent attribute defines a parent-child relationship in the content. You can also use this to change the content's position, or create sub-chapters within chapters.
For the Document() and Chapter() classes, the getChildren() method provides a list of the related child objects.
Figure 3.


Enhancements

Python API
In the ReportSession() class, use the paste() method to paste content from one Document/Presentation or Chapter/Slide to another.
Figure 4.


In the Image() class, the page and window properties have been added. Use these properties to set the ID of the page or window that you want to capture a GUI image from.

Resolved Issues

  • Slide layout selection was missing for the module Capture Pages and Windows.