<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Open Staad - Output units for forces, moments and dimensions</title><link>https://communities.bentley.com/products/ram-staad/f/ram-staad-forum/240886/open-staad---output-units-for-forces-moments-and-dimensions</link><description>Hello, 
 while I am coding in VBA, I need to obtain the output units in Open Staad for forces, moments and dimensions (for example for beams internal forces). 
 I use the commands: 
 GetOutputUnitForSectDimension 
 GetOutputUnitForForce 
 GetOutputUnitForMoment</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Open Staad - Output units for forces, moments and dimensions</title><link>https://communities.bentley.com/thread/750879?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2023 13:05:01 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:40e58eb8-1052-4238-8597-668d73ee5ec7</guid><dc:creator>Shreyanka Bhattacharjee</dc:creator><description>&lt;p&gt;The correct syntax of the function is given below&lt;/p&gt;
&lt;p&gt;Dim strOutputUnitForDisplacement As String&lt;br /&gt;Dim strOutputUnitForRotation As String&lt;br /&gt;Dim strOutputUnitForForce As String&lt;br /&gt;Dim strOutputUnitForMoment As String&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;objOpenSTAAD.Output.GetOutputUnitForDisplacement strOutputUnitForDisplacement&lt;br /&gt;objOpenSTAAD.Output.GetOutputUnitForRotation strOutputUnitForRotation&lt;br /&gt;objOpenSTAAD.Output.GetOutputUnitForForce strOutputUnitForForce&lt;br /&gt;objOpenSTAAD.Output.GetOutputUnitForMoment strOutputUnitForMoment&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;But these functions returns output unit used by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;GUI&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;as a string.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/5932/pastedimage1674824447949v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If you want the unit of the displacement for function&amp;nbsp;&lt;span&gt;GetNodeDisplacements or&amp;nbsp;the unit of the&amp;nbsp;force&amp;nbsp;for function&amp;nbsp;GetIntermediateMemberForcesAtDistance, then the unit are always&amp;nbsp;in BASE UNIT of the structure.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, function&amp;nbsp;GetOutputUnitForDisplacement&amp;nbsp; returns the unit&amp;nbsp;used by the&amp;nbsp;&lt;strong&gt;GUI&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&amp;nbsp;the unit of the displacement for function&amp;nbsp;GetNodeDisplacements&amp;nbsp;are&amp;nbsp;in BASE UNIT of the structure.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>