Change help file in wizard depending on property value

Pernelle Marone-Hitz
Pernelle Marone-Hitz Member, Moderator, Employee Posts: 741
First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
edited June 2023 in Structures

How can I change the help .html file in a Wizard depending on the value of a property?

Tagged:

Answers

  • Pernelle Marone-Hitz
    Pernelle Marone-Hitz Member, Moderator, Employee Posts: 741
    First Comment First Anniversary Ansys Employee Solution Developer Community of Practice Member
    Answer ✓

    The following commands can be used to set the content of the help component:

    step.UserInterface.GetComponent("Help").SetHtmlContent(System.IO.Path.Combine(installDir,"help","L_Type.html"))
    step.UserInterface.GetComponent("Help").Refresh()