How do I export files from MATLAB to autocad?

23 次查看(过去 30 天)
I am analyzing a shell structure for a project in SAP 2000.
I can't just draw the structure in SAP or AutoCad, I've heard I could write a program or function for the 3D shell and then export it to AutoCad and draw it there and then export the drawing to SAP.
Can you tell me if that is possible and if yes, could you give me some hints?

回答(2 个)

Jan
Jan 2011-2-18
编辑:John Kelly 2014-5-27
  1 个评论
kedar sabharanjak
kedar sabharanjak 2016-2-20
the link is not found. it doesnt exist on the server. please suggest any other link. thank you

请先登录,再进行评论。


Yuhang
Yuhang 2014-9-29
SAP2000 has its Open-API for matlab, you do not need to draw your shell through AutoCAD. It's very easy to use the API to draw anything in SAP2000.
here are the code to start:
% code
feature('COM_SafeArraySingleDim', 1);feature('COM_PassSafeArrayByRef', 1);
SapObject = actxserver('Sap2000v15.SapObject');
SapObject.ApplicationStart(9);
SapModel = SapObject.SapModel; % create SapModel object
SapModel.InitializeNewModel; % initialize model
end
check the 《CSi_OAPI_Documentation》 on your hard disk to get fully usage.
good luck!
ps: there are MATLAB example codes in the help file.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by