<?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>delete existing primary load cases</title><link>https://communities.bentley.com/products/ram-staad/f/ram-staad-forum/243802/delete-existing-primary-load-cases</link><description>Dear All, 
 Could anyone help me to delete existing primary load cases in openstaad ? because every time I do the analysis, loads repeat instead of replacing the previous load case. 
 Here is my code: 
 Sub GenerateModel() 
 Dim cx(1) As Double Dim cy</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: delete existing primary load cases</title><link>https://communities.bentley.com/thread/760707?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2023 08:12:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:320ba9b4-bef8-46a4-9b2c-387f2700690c</guid><dc:creator>Shreyanka Bhattacharjee</dc:creator><description>&lt;p&gt;Please refer to the below wiki link&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://communities.bentley.com/products/ram-staad/w/structural_analysis_and_design__wiki/65565/how-to-delete-load-cases-using-openstaad-function"&gt;How to delete load cases using OpenSTAAD function&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please modify the input parameter for function&amp;nbsp;&lt;b&gt;&lt;span data-contrast="auto"&gt;DeletePrimaryLoadCases&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;There are two input parameters for this function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;[Input] Loadp:  Primary/Reference load case reference ID(s) or Load Combination case ID(s)&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span data-contrast="auto"&gt;[Input] IsReferenceLoads:  If reference load case(s): TRUE =1 or FALSE=0&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>