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 Beams-high light
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
188 Views, 3 Replies
09-28-2012 01:08 AM
Hi,
the purpose of the API application is :
Creates a selection by storey
MyLevelSelection = app.Project.Structure.Selections.CreateByStoreyIRobotObjectType.I_OT_BAR, MyLevel.Name);
Sets the selection in the structural view (IRobotView2 MyStrView)
MyStrView.Selection.Set(IRobotObjectType.I_OT_BAR, (RobotSelection)MyLevelSelection);
Is there a way to put the bars Selected highlighted only with a code. ( without clicking in a structural view) ?
Many thanks.
Tayeb.
Re: Robot-API Beams-high light
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2012 01:45 AM in reply to:
medtayeb
I will look at it next week. Sorry.

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Robot-API Beams-high light
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-11-2012 12:54 AM in reply to:
RG_Adsk
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.
Re: Robot-API Beams-high light
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-11-2012 08:31 AM in reply to:
RG_Adsk
Hi OK, Many thanks. Tayeb.

