Quantcast
Channel: RAM | STAAD Forum - Recent Threads
Viewing all articles
Browse latest Browse all 22496

RE: RAM DataAccess - Gravity Loads and Coordinates

$
0
0

After initializing DataAccess (shown as RAMDataAcc1 below) and loading the model, you first need to initialize the old interface.  This is accomplished by setting the interface with the appropriate pointer.

Dim IGravityLoads1 As RAMDATAACCESSLib.IGravityLoads1
Set IGravityLoads1 = RAMDataAcc1.GetDispInterfacePointerByEnum(IGravityLoads_INT)

Then, you can access the methods in the interface.

IGravityLoads1.GetNumBeamLoads lBeamID, lNumLineLoads, lNumPointLoads

As shown above, you would first get the number of loads.  Then you would call the GetLineLoads… and GetPointLoads… methods and loop through the number of loads that exist.  Please note, these methods have been revised several times, so use GetBeamLineLoadAndSource3 and GetBeamPointLoadAndSource2 methods for the most recent methods.  There is a broader discussion of the old interfaces in the DA for Dummies document on Be Communities.

Please note, RAM Elements has the ability to import a RAM SS model which will bring in loading.  Rather than writing a program to create a new model in Elements, it might be easier to import the model and just change the fixity in Elements if the only limitation is related to continuous beams.


Viewing all articles
Browse latest Browse all 22496

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>