HyperSizer Support Forum Welcome, Guest. Please login or register.
September 07, 2010, 05:39:42 PM
Home Help Search Calendar Login Register
News: HyperSizer Pro, Basic and Material Manager 5.8.11 just Released!  Contact us to upgrade your software!

HyperSizer Support Forum  |  Software Use  |  Object Model  |  Topic: Setting Loads in the Object Model « previous next »
Pages: [1] Go Down Print
Author Topic: Setting Loads in the Object Model  (Read 152 times)
Ryan
*
Posts: 12


« on: May 28, 2010, 10:41:47 AM »

To set a load programmatically via the object model you'll need:
-   A valid mechanical load set number
-   Component object
-   Panel load object

The basic process is as follows:

‘ Grab the existing panel load object from component object
Set objPanelLoad = objComponent.DesignLoadsPanel( loadSetNum, dptForBucklingAnalysis) ‘ 2nd option specifies whether load is for buckling or strength

‘ Modify the panel load object
objPanelLoad.Nx = -1000.0
objPanelLoad.Ny = -50.0

‘ Assign modified panel load object to component object
objComponent.DesignLoadsPanel ( loadSetNum, dptForBucklingAnalysis) = objPanelLoad

« Last Edit: May 28, 2010, 10:43:21 AM by Ryan » Logged
Pages: [1] Go Up Print 
HyperSizer Support Forum  |  Software Use  |  Object Model  |  Topic: Setting Loads in the Object Model « previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!