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

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 454
100 Answers 250 Likes 100 Comments Second Anniversary
✭✭✭✭
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: 454
    100 Answers 250 Likes 100 Comments Second Anniversary
    ✭✭✭✭
    Answer ✓

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

    Example:

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