Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Problem with SAP2000 API DirHistNonlinear.SetDampProportional

Status
Not open for further replies.

huongnhat

Computer
Jan 8, 2019
1
Hi,
Currently I am trying to use API to interact with SAP2000 program.
When using the API, I encounter an abnormal behaviour described below:

I. The function I use: Definitions-> Load cases > Direct TH Nonlinear -> SetDampProportional
(SapObject.SapModel.LoadCases.DirHistNonlinear.SetDampProportional)

I call the API with these parameters:

SapModel.LoadCases.DirHistNonlinear.SetDampProportional("LCASE1", 2, 0, 0, 0.1, 1, 0.05, 0.06)

(same as example in guide)

But the parameters are appeared to set incorrectly:

p1_fvuzz6.png

II. My goal is to set the damping in Viscous Proportional Damping area like this
p2_x5byhw.png

III. I think the settings in (I) and (II) are different because when I run analysis, setting (II) run faster than (I) (like about 15x speed). Yet I do not which API to set the damping parameter like (II) no matter what I try.
So could someone please guides me how to achieve (II) settings using API they provided? (Setting values in Viscous Proportional Damping instead of Additional Modal Damping area)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor