Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

get beam and column results summary

Status
Not open for further replies.

Javades

Aerospace
Jun 29, 2013
2
Dear sirs/madams
I am trying to get the design summary results for frame elements from sap API in MATLAB. but I cannot.
I have posted my code below: (Would you please let me know what I am doing wrong?)

NumberItems= 0;
FrameName=cellstr(' ');
Location=zeros (1,1,'double');
TopCombo= cellstr (' ');
TopArea=zeros(1,1,'double');
BotCombo= cellstr(' ');
BotArea=zeros(1,1,'double');
VmajorCombo= cellstr(' ');
VmajorArea=zeros(1,1,'double');
TLCombo= cellstr(' ');
TLArea=zeros(1,1,'double');
TTCombo=cellstr(' ');
TTArea=zeros(1,1,'double');
ErrorSummary= cellstr(' ');
WarningSummary=cellstr(' ');
[ret, NumberItems, FrameName, Location, TopCombo, TopArea, BotCombo, BotArea, VmajorCombo, VmajorArea, TLCombo, TLArea,...
TTCombo, TTArea, ErrorSummary, WarningSummary]=SapModel.DesignConcrete.GetSummaryResultsBeam('25', NumberItems, FrameName,...
Location, TopCombo, TopArea, BotCombo,BotArea, VmajorCombo, VmajorArea, TLCombo, TLArea, TTCombo, TTArea, ErrorSummary, WarningSummary)


%%%%%%%%%%%%%%%%%%%%%%%%%% AND FOR COLUMS: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

NumberItems = 0;
FrameName = cellstr(' ');
MyOption = 2;
Location = zeros(1,1,'double');
PMMCombo = cellstr(' ');
PMMArea = zeros(1,1,'double');
PMMRatio = zeros(1,1,'double');
VmajorCombo = cellstr(' ');
AVmajor = zeros(1,1,'double');
VminorCombo = cellstr(' ');
AVminor = zeros(1,1,'double');
ErrorSummary = cellstr(' ');
WarningSummary = cellstr(' ');
Object = 0;

[ret, NumberItems, FrameName, MyOption, Location, PMMCombo, PMMArea, PMMRatio, VmajorCombo, AVmajor, VminorCombo, AVminor, ErrorSummary, WarningSummary] = SapModel.DesignConcrete.GetSummaryResultsColumn('1', NumberItems, FrameName, MyOption, Location, PMMCombo, PMMArea, PMMRatio, VmajorCombo, AVmajor, VminorCombo, AVminor, ErrorSummary, WarningSummary, Object);


 
Replies continue below

Recommended for you

do not have any idea?????? that's urgent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor