Autodesk Robot Structural Analysis
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Robot-API BeamsColor
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
191 Views, 3 Replies
09-25-2012 04:38 AM
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.
Re: Robot-API BeamsColor
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-25-2012 05:02 AM in reply to:
medtayeb
Make selection ? Should be in red.

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Robot-API BeamsColor
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-25-2012 07:29 AM in reply to:
medtayeb
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.
Re: Robot-API BeamsColor
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-11-2012 12:53 AM in reply to:
medtayeb
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

Rafal Gaweda
Product Support
Autodesk, Inc.

