How to call Workbench ACT Project page functions in Mechanical ACT?

Options
Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 419
5 Likes First Anniversary Ansys Employee Solution Developer Community of Practice Member
edited June 2023 in Structures

How to call Workbench ACT WB Project page functions in Mechanical ACT?

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 419
    5 Likes First Anniversary Ansys Employee Solution Developer Community of Practice Member
    Answer ✓
    Options

    It can be done using ExecuteCommand() and the returned values can be requested using returnValue

    Example:

    import wbjn
    wbjn.ExecuteCommand(ExtAPI, "returnValue(GetUserFilesDirectory())")