×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*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.

Students Click Here

Jobs

Adding Response spectrum Load case through OAPI matlab to Sap

Adding Response spectrum Load case through OAPI matlab to Sap

Adding Response spectrum Load case through OAPI matlab to Sap

(OP)
Hi guys,

I am using Matlab2017a to interact with Sap2000. Now that my model is built, i want to add a load case for response spectrum. In the CSi OAPI help documentation, the function to do so is:
SapObject.SapModel.LoadCases.ResponseSpectrum.SetCase

I tried to call the fonction with the following syntax :
LoadCases = NET.explicitCast(SapModel.LoadCases,'SAP2000v18.cLoadCases');
ret = LoadCases.ResponseSpectrum.SetCase('Spec');


It keeps giving me errors that the syntax for this function isn't appropriate:
Error using MatSap (line 357)
No appropriate method, property, or field 'SetCase' for class 'SAP2000v18.wCaseResponseSpectrum'.

Can you help me with the syntax in matlab to Add a load case ?

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.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources