Community
Hi,
I used IRobotView2 to see a structure.
The application goes through every level,then for each level identifies and tests each beam.
how to color the ( current ) beam to be tested.
Thanks.
Hi
I tried that but no selection appears on view ( IRobotView2 MyStrView )
IRobotSelection MyBarSelected = MyStrView.Selection.Get(IRobotObjectType.I_OT_BAR);
for (num_bar = 1; num_bar <= MyBarSelected.Count; num_bar++)
{
MyBarSelected.Get(num_bar);
........
}
Many thanks for help.
example code :
Dim sObj As RobotSelection
Set sObj = RobApp.Project.Structure.Selections.Get(I_OT_BAR) Dim sObj1 As RobotSelection Set sObj1 = RobApp.Project.Structure.Selections.Create(I_OT_BAR) If ((Not sObj Is Nothing) And (Not sObj1 Is Nothing)) Then sObj1.FromText ("3") sObj.Add sObj1 End If