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 TugboatEng 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
Joined
Jun 29, 2013
Messages
2
Location
US
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);


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

Part and Inventory Search

Sponsor

Back
Top