Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

ETABS Combinations with API MATLAB

Status
Not open for further replies.

Gil86

Civil/Environmental
Jan 12, 2022
2
hi i'm Gil, i'm trying to extract the names of the Combos of ETABS with matlab, but i have the following error:

No method 'GetNameList' with matching signature found for class:
'Interface.CSi_Application_Programming_Interface__API__v1.cCombo'.,

can someone help me
these is my code

clc
clearvars
clear all
feature('COM_SafeArraySingleDim', 1);
feature('COM_PassSafeArrayByRef', 1);
SapObject = actxserver('CSI.ETABS.API.ETABSObject');
SapObject.ApplicationStart;
SapModel = SapObject.SapModel;
ret = SapModel.InitializeNewModel;
ret = SapModel.File.NewBlank;
[FileName,PathName] = uigetfile('*.edb','Selecciona Modelo');
if isequal(FileName,0)
errordlg('El usuario cancelo la operacion','Warning')
return
end
archivo=strcat(PathName,FileName);
ret = SapModel.File.OpenFile(archivo);
archivo=strcat(PathName,FileName);
ret = SapModel.File.OpenFile(archivo);
ret = SapModel.SetPresentUnits_2(6,6,2);

NumberNames=int32(1);
MyName=cellstr(' ');

[ret,NumberNames,MyName]=SapModel.RespCombo.GetNameList(ret,NumberNames,MyName);

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor