Hi,
Is there a way to get a selection of bars from a list of nodes?
Could you give me some help to do this?
Thank you in advance
Solved! Go to Solution.
Solved by Rafal.Gaweda. Go to Solution.
Solved by Rafal.Gaweda. Go to Solution.
Dim RNA As RobotNumbersArray Dim BarSelection As RobotSelection Set BarSelection = Robapp.Project.Structure.Selections.Create(I_OT_BAR) Set RNA = Robapp.Project.Structure.Nodes.GetConnectedBars(Nodeselection.ToText) Dim selbar as String For I = 1 To RNA.Count selbar = selbar + " " + Str(RNA.Get(I)) Next I BarSelection.FromText selbar
Thanks for the help. It works nice.
I'm newer in programming and in API and i've some difficults to understanding the logical of this API. Is there any document easier to understand than the Robot API.pdf?
Hi @rdrmolina,
Yes, it is possible to select nodes by coordinates X, Y, Z.
Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.
Roman Zhelezniak
Robot Evangelist & Passionate Civil Structural Engineer
Hi @rdrmolina
Just to be sure you understood @Romanich's answer correctly : you need to write such procedure by your own.
The only implemented geometrical selection in API is ByStorey