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
API Bracket definition
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
76 Views, 2 Replies
06-22-2012 03:01 AM
Hello,
I'm trying to create a bracket and assign to a bar using Robot steel API.
It’s possible provide a complete example to "Visual Basic -Microsoft Excel" for a “Bar” type?
Thanks
Re: Bracket definition
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-22-2012 05:11 AM in reply to:
samuel.pereira
Example
Dim RobApp As RobotApplication
Set RobApp = New RobotApplication
Dim RBracket As RobotLabel
Dim BracketData As RobotBarEndBracketData
Set RBracket = RobApp.Project.Structure.Labels.Create(I_LT_BAREND _BRACKET, "Bracket")
Set BracketData = RBracket.Data
BracketData.Type = I_BEBT_PLATES
BracketData.SetValue I_BEBDV_HEIGHT, 0.4, 0
BracketData.SetValue I_BEBDV_LENGTH, 0.6, 0
BracketData.SetValue I_BEBDV_THICKNESS_1, 0.01, 0
BracketData.SetValue I_BEBDV_THICKNESS_2, 0.02, 0
BracketData.SetValue I_BEBDV_WIDTH, 0.3, 0
RobApp.Project.Structure.Labels.Store RBracket
bar_number = 1
Dim RBar As RobotBar
Set RBar = RobApp.Project.Structure.Bars.Get(bar_number)
Dim BarE As RobotBarEnd
Set BarE = RBar.Start
BarE.SetLabel I_LT_BAREND_BRACKET, "Bracket"
Set BarE = RBar.End
BarE.SetLabel I_LT_BAREND_BRACKET, "Bracket"

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Bracket definition
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-22-2012 07:25 AM in reply to:
RG_Adsk
Thank you!

