Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Is is possible to activate the following option "For all objects" through the API?
Thank you.
Solved! Go to Solution.
Hello,
Is is possible to activate the following option "For all objects" through the API?
Thank you.
Solved! Go to Solution.
Not exactly, the process via the API is to assign a full selection to the RobotTable.
Sub GetFullReactionTable()
Dim Robapp As RobotApplication, rt As RobotTable
Set Robapp = New RobotApplication
Set rt = Robapp.Project.ViewMngr.CreateTable(I_TT_REACTIONS, I_TDT_DEFAULT)
rt.Select I_ST_NODE, "ALL"
rt.Select I_ST_CASE, "ALL"
Set Robapp = Nothing
End Sub
Even though it is implicit in the case of a reaction table, you can start from a dedicated selection to obtain the list of supported nodes.
Dim supSel As RobotSelection
Set supSel = Robapp.Project.Structure.Selections.CreatePredefined(I_PS_NODE_SUPPORTED)
rt.Select I_ST_NODE, supSel.ToText