Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSi API for VBA - Frame Forces

Status
Not open for further replies.

dheath87

Structural
Joined
Feb 24, 2017
Messages
1
Location
US
I'm trying to learn how to use the API functionality for CSi products (CSiBridge and SAP2000). I've started with the example API code provided in the API documentation (basically, CSi Example Problem 001). I've modified the end portion of the example code so that I can successfully export all 4 joint displacements in all 6 DOF and print these results to Excel. I'd like to do something similar for frame forces - I want to automatically export the frame forces to Excel. I'm using the attached VBA code but, it gives me the error "Object Required". I'm wondering if the issue results from frame forces being reported at multiple points (stations) along a frame element, while displacements are have only one output item; i.e. frame forces have two or more rows of output per frame while joint displacements only have one row of output per joint. The error seems to happen on line 407 of my code.

Any insight you have is much appreciated.

Thanks, Doug
 
 http://files.engineering.com/getfile.aspx?folder=940617bb-be93-49de-a80b-55ae194514bb&file=input_code_2.20.17.txt
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top