Autodesk Robot Structural Analysis
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Display bar length graphicall y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
sorgjee wrote:
Thanks, the code for the mapping works for me, except the symbol size is refusing to change frmo anyting other than 3. ANy idea what is causing this?
(Keep in mind that this approach may not display member lengths on all members - take a look at Romanich screen shot)
Do you refresh after?
Is there a way of setting the scale colours to black through the API?
I am afradi not possible.
Trying to make the print as neat as possible.
Try this code :
viewRobot.ParamsBarMap.CurrentResult = I_VBMRT_DESIGN_MEMBER_LENGTH
viewRobot.ParamsBarMap.Descriptions = I_VDDT_TEXT
viewRobot.ParamsBarMap.MapThicknessCoeff = 1
viewRobot.ParamsDisplay.SymbolSize = 5viewRobot.ParamsDisplay.Set I_VDA_VIEWOGL_BLACK_EDGES, True
RobApp.Project.ViewMngr.Refresh

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Display bar length graphicall y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Rafal,
Thanks _BLACK_EDGES works a treat.
No idea about why the SymbolSize is not working . Was running smoothly last night. Will try different computer and see if it makes any difference.
One more question though, after setting BarMap, how do I revert to a 'normal' view. Using ParamsBarMap.CurrentResult - I_VBMRT_NOTHING simply makes the bars disappear completely.
Regards,
Even
Re: Display bar length graphicall y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I tried SymbolSize on a different computer (with RSA2012), and it worked fine. Still no luck on this computer, which has RSA2011 installed. The reference manual indicate that this function was introduced fairly early so should work. Any idea?
Re: Display bar length graphicall y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
sorgjee wrote:
I tried SymbolSize on a different computer (with RSA2012), and it worked fine. Still no luck on this computer, which has RSA2011 installed. The reference manual indicate that this function was introduced fairly early so should work. Any idea?
You are right. On 2011 the change of this parameter makes no difference on display.
Works fine on 2012.

Rafal Gaweda
Product Support
Autodesk, Inc.
Re: Display bar length graphicall y
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
One more question though, after setting BarMap, how do I revert to a 'normal' view. Using ParamsBarMap.CurrentResult - I_VBMRT_NOTHING simply makes the bars disappear completely.
This should work:
viewRobot.ParamsBarMap.Descriptions = I_VDDT_NONE
viewRobot.ParamsBarMap.CurrentResult = -1
viewRobot.ParamsDisplay.Set I_VDA_VIEWOGL_BLACK_EDGES, FalseRobApp.Project.ViewMngr.Refresh

Rafal Gaweda
Product Support
Autodesk, Inc.



