Skip to content

Problem trying to display titles/annotations on contour picture #4570

@alejandro-pd

Description

@alejandro-pd

Hello,

My goal is to plot a string on top of a contour picture when using the save_picture method using no GUI. For example:
graphics.picture.save_picture(file_name="contour-example.png")

I started trying to reproduce the following TUI command in order to define a string with the desired text, taking advantage of fluent titles:

/display/set/windows/text/visible? yes 
/display/set/windows/text/date? no 
/display/set/titles//left-top "Sample text" 

Converting to .py I only get this:

solver.settings.results.graphics.windows.text.visible = True
solver.settings.results.graphics.windows.text.date = False

I can't find a way to define a title text with pyfluent. I also tried with annotations, but they are not visible when launching with no GUI.

Any workaround?

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions