×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

SAP2000 OAPI Pushover Curve

SAP2000 OAPI Pushover Curve

(OP)
How can I display a pushover curve using sap2000 OAPI. How to find the yield displacement and the yield force, similarly for ultimate load and ultimate displacement. How can I write the code using sap2000 OAPI.

RE: SAP2000 OAPI Pushover Curve

Post a code of what you already have

-Just a curious engineer

RE: SAP2000 OAPI Pushover Curve

(OP)
# get hinge data for the Beams
NumberHinges = 1
HingeNum = [1, 2]
Prop = ["2B1", "2B2"]
MyType = [6, 6]
Behavior = [2, 2]
Source = ["Auto", "Auto"]
# LocType = [1,1]
RD = [0, 1]
# ret = SapModel.FrameObj.GetHingeAssigns_1("2", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, LocType, RD, AD)
ret = SapModel.FrameObj.GetHingeAssigns("2", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, RD)

NumberHinges = 1
HingeNum = [3, 4]
Prop = ["4B1", "4B1"]
MyType = [6, 6]
Behavior = [2, 2]
Source = ["Auto", "Auto"]
# LocType = [1,1]
RD = [1, 1]
# ret = SapModel.FrameObj.GetHingeAssigns_1("4", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, LocType, RD, AD)
ret = SapModel.FrameObj.GetHingeAssigns("2", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, RD)

NumberHinges = 2
HingeNum = [5, 6]
Prop = ["5B1", "5B2"]
MyType = [6, 6]
Behavior = [2, 2]
Source = ["Auto", "Auto"]
# LocType = [1,1]
RD = [0, 1]
# ret = SapModel.FrameObj.GetHingeAssigns_1("5", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, LocType, RD, AD)
ret = SapModel.FrameObj.GetHingeAssigns("2", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, RD)
# clear selection
ret = SapModel.SelectObj.ClearSelection

# # get hinge data for the Columns
# # select by frame property
ret = SapModel.SelectObj.PropertyFrame("C1")
NumberHinges = 2
HingeNum = [7, 8]
Prop = ["1C1", "1C2"]
MyType = [10, 10]
Behavior = [2, 2]
Source = ["Auto", "Auto"]
# LocType = [1,1]
RD = [0, 1]
# ret = SapModel.FrameObj.GetHingeAssigns_1("1", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, LocType, RD, AD)
ret = SapModel.FrameObj.GetHingeAssigns("2", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, RD)

NumberHinges = 2
HingeNum = [9, 10]
Prop = ["2C1", "2C2"]
MyType = [10, 10]
Behavior = [2, 2]
Source = ["Auto", "Auto"]
# LocType = [1,1]
RD = [0, 1]
# ret = SapModel.FrameObj.GetHingeAssigns_1("3", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, LocType, RD, AD)
ret = SapModel.FrameObj.GetHingeAssigns("2", NumberHinges, HingeNum, Prop, MyType, Behavior, Source, RD)

RE: SAP2000 OAPI Pushover Curve

(OP)
The above-posted code I am using to define the plastic hinges in Sap2000 oapi but this code is not working, what should be the right code to define plastic hinges in sap2000 oapi, Also how to get base shear vs displacement results in sap2000 oapi. Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!