<?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>Openstaad- Get Plate Thickness</title><link>https://communities.bentley.com/products/ram-staad/f/ram-staad-forum/197906/openstaad--get-plate-thickness</link><description>Hi all, 
 I&amp;#39;m trying to extract the plate thickness of given plates through Excel VBA. 
 I&amp;#39;m using STAAD connect update 3. Following is my macro, kindly let me know if any change in syntax has to be done. Thanks. 
 Sub GetPlateThick() Dim staad As Object</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Openstaad- Get Plate Thickness</title><link>https://communities.bentley.com/thread/589492?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 13:35:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:976753c1-60ad-40bd-b9f2-fc5a209d9561</guid><dc:creator>Surojit Ghosh</dc:creator><description>&lt;p&gt;The problem is with the following variable type declaration &amp;ndash;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Dim plateThkArray(0 To 3) As Variant&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;You need to define the variable type for this array as &amp;ldquo;double&amp;rdquo;, not variant. In OpenSTAAD, normally we don&amp;rsquo;t specify any variable type as variant as we have noticed few problems with this variable type. There are several OpenSTAAD functions which does not work properly if you specify the variable type incorrectly. So to extract the correct plate thickness value, modify the above mentioned line as &amp;ndash;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Dim plateThkArray(0 To 3) As Double&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This will solve the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>