分享一个小程序。  A small program to share with you.

  • 程序图标 ( Program Icon )

        CADtoXTRACT

  • 程序名称 ( Program Name)

CAD to XTRACT

  • 程序作者 ( Author)

JiDong Cui (崔济东) 1

1.华南理工大学  土木与交通学院;

  • 程序介绍 ( Program Introduction)

XTRACT是一个功能十分强大的截面分析软件,在做结构设计和分析时经常用到。然而XTRACT自带的截面建模功能比较弱,尤其是在创建任意形状截面的时候。为了提高效率,我编制了CAD to XTRACT插件,其利用了AutoCAD强大的绘图功能,在工程师熟悉的AutoCAD上绘制好截面,然后转换成XTRACT模型。下面介绍一下插件。

XTRACT is a powerful sectional analysis program, it is frequently-used in structural design and analysis. However, the build-in tools for creating section in XTRACT is not very convenient , especially in the creation of an arbitrary cross-section. Based on this consideration, I developed a AutoCAD plugin — CAD to XTRACT for rapid creating section , which is simple and powerful. You can draw the section in AutoCAD and used the CAD to XTRACT plugin to export the XTRACT files. Here is the introduction of this plugin!

  • 程序界面 ( Program Interface )

C2X

C2X_About

  • 程序使用 ( Step to Use )

(1)事先在AutoCAD将需要计算的截面绘制好,以(N-mm为单位)。截面边线和开洞用闭合的Pline绘制,钢筋用Circle命令绘制。

(2)打开AutoCAD 2010,输入命令:【Netload】,导入插件:CADTOXTRACT_cad2010_x64_20160217.dl

          ( PS. 不同的版本AutoCAD找相应版本的.dll文件)

(3)输入命令:【CX】,弹出CAD to XTRACT插件界面

(4)通过插件,定义好材料,通过扑捉绘制好的Pline和Circle完成截面的定义

(5)完成定义,导出XTRACT使用的项目文件(.xpj)或截面文件(.sec)

(6)打开XTRACT,将上述文件导入,修改材料属性、补充定义分析工况后即可进行截面分析

(1)First,draw the section in AutoCAD in units of N-mm. Sectional edges and openings  must be drawn with a closed pline, and the rebars must be draw with Circle command.

(2)Open AutoCAD 2010 , input command  [Netload] , and load the plugin – CADTOXTRACT_cad2010_x64_20160217.dl.

( PS. The version of AutoCAD and the .dll file  must match each other. )

(3)Input command :【CX】and pop up  the CAD to XTRACT interface.

(4)Compelete the definition of materials through the GUI of the plugin, and complete the definition of the section by picking the pline and circle.

(5)Export XTRACT project file (.xpj) or section file (.sec).

(6)Open XTRACT and import the file exported. Until now, the work left before you can carrying out the analysis is to modify the material properties and define the load case. 

  • 例子 ( Examples )

(1)例1 – 普通混凝土截面(Example 1 – RC Section

EXAMPLE1_CAD

EXAMPLE1_XTRACT

(2)例2 – 型钢混凝土截面(Example 2 – Steel reinforced concrete Section

EXAMPLE2_CAD

EXAMPLE2_XTRACT

(3)例3 – 圆形截面(Example 3- Circular Cross-section

EXAMPLE3_CAD

EXAMPLE3_XTRACT

(4)例4 – 含开洞复杂截面(Example 4 – Complicated Cross-section with Hole

EXAMPLE4_CAD

EXAMPLE4_XTRACT

  • 程序下载 ( Program Download )

PS. 程序免费下载 ,欢迎大家给我提意见 ,敬请尊重劳动成果

[1] Document : CADtoXTRACT 说明文档和例子[.zip]   

[2] 20160217 Edition (Outdated!!)

CADTOXTRACT_cad2008_x64_20160217[.zip]

CADTOXTRACT_cad2010_x64_20160217[.zip]

CADTOXTRACT_cad2014_x64_20160217[.zip] 

CADTOXTRACT_cad2016_x64_20160217[.zip] 

        20160317 Edition (Old!!)

CADTOXTRACT_cad2010_x64_20160317[.zip]

      a. 修正了20160217版本Shape多段线绘制的bug。

 20160217版本插件,用多段线绘制Shape的时候,n个点的多段线,仅能用(n-1)个点来绘制,并选择闭合,否则可能有形状无法导入。(PS.  感谢清华同衡 付工 的反馈.十分感谢)

      b. 20160317版本,增加了按中国规范材料标准值和设计值的选项,输出后不需要修改材料。

20170221 Edition (New!!)

CADTOXTRACT_cad2010x64_20170221[.zip]

a. 添加了带圆弧截面的支持,详见 (博文: CAD2XTRACTv1.2插件增加带圆弧截面建模功能

(PS.  感谢 小叶子 的反馈.)

  • 注意事项 (Notes )

( PS.不同版本的AutoCAD找相应版本的.dll文件,如果没有对应AutoCAD版本的.dll文件,找与AutoCAD版本相近的.dll文件。32版本的AutoCAD一般情况上面的.dll文件也是可以是适用的。如果有问题,请给我留言。)

( PS. The version of AutoCAD and the .dll file  must match each other. If there is no corresponding .dll file for your AutoCAD , use the .dll file with closed AutoCAD version.  The above 64-bit .dll file is often applicable to 32-bit AutoCAD. )

  • 相关话题 ( Related Topics)

[01] CAD to XTRACT 插件应用的一些问题

    (PS. 如果你使用 CAD to XTRACT 插件遇到问题,请一定要先看看这个博文,里面对一些常见的问题做了说明。)

[02] XTRACT PMM 3D屈服面的绘制(Origin版)

[03] XTRACT PMM 3D屈服面的绘制(MATLAB版)

[04] CADtoXTRACT 插件复杂嵌套截面建模实例

[05] CADtoXTRACT应用问题之-XTRACT数据的精度

  • 注释 ( Comments )

 软件是免费的。如果你发现软件有bug或者软件使用有问题,请留言给我,或者通过邮箱联系我。邮箱:jidong_cui@163.com 

This app is free . If  you have found any bug in the program or have any problem when using the program, please don’t hesitate to contact me directly.  Email : jidong_cui@163.com

如有错误,请批评指正。如果你喜欢,请在下面 点个赞 吧!! :-)  :-)  :-

Please correct me if I’m wrong. If you like this posts, please give me a thumbs up rating on the button below !!!!  :-)  :-) )


78 2

  • 微信公众号 ( Wechat Subscription)

WeChat_QRCode

欢迎关注 “结构之旅” 微信公众号

30 Comments

Page 1 of 11
  1. CJD says:

    如果你的AutoCAD不是指定版本,找与你的AutoCAD版本相近的.dll文件进行使用。 :wink: :wink:
    关于32为版本的AutoCAD用上面的.dll一般情况是适用的。如果有问题可以给我留言。

  2. CJD says:

    针对网友提出的关于材料属性的问题,这里统一解答一下:导出的XTRACT文件材料属性需要在XTRACT进行修改,工况也要补充定义。由于不同人的分析目的不行同,材料也有不同种类,因此,材料留给用户修改。

  3. Sheldon Pasquino says:

    In the text file define what you want to extract. Add in each line the properties you want to extract.

  4. CJD says:

    插件更新了:20160317版本,修正了20160217的一些小问题,并增加了规范材料标准值和设计值选项输出的选项 :wink: ,方便结构设计和分析。 :) :)

  5. XTRACT PMM 3D屈服面(Origin) | 崔济东的博客 - JiDong Cui's Blog says:

    […] [1]  CAD to XTRACT 插件[AutoCAD转任意XTRACT截面] […]

  6. XTRACT PMM 3D屈服面的绘制(MATLAB版) | 崔济东的博客 - JiDong Cui's Blog says:

    […] [1]  CAD to XTRACT 插件[AutoCAD转任意XTRACT截面] […]

  7. CADtoXTRACT 插件复杂嵌套截面建模实例 | 崔济东的博客 - JiDong Cui's Blog says:

    […] [1]  CAD to XTRACT 插件[AutoCAD转任意XTRACT截面] […]

  8. CADtoXTRACT应用问题之-XTRACT数据的精度 | 崔济东的博客 - JiDong Cui's Blog says:

    […] 关于CADtoXTRACT插件的介绍和下载看这里:[Tool] CADtoXTRACT 插件[AutoCAD转任意XTRACT截面] […]

  9. 明泽文 says:

    崔博士您好:

    我想问下CADtoXTRACT20160317版本的有没有与适用于CAD2013的啊,我看博客上只有CAD2010的,我的13版本的CAD用不了这个最新版本的。

  10. CJD says:

    @明泽文  过几天再跟新新版本,如果你急着用,就安装一个AutoCAD 2010吧

  11. VTF says:

    Hello,

    I tried to load CADTOXTRACT_cad2016_x64_20160217.dll file in Autocad 2016 64bit, but it failed to load. The error message goes something like this:

    ===
    Cannot load assembly. Error details: System.IO.FileLoadException: Could not load file or assembly ‘file:///C:\Program Files\Autodesk\AutoCAD 2016\Support\CADTOXTRACT_cad2016_x64_20160217\CADTOXTRACT_cad2016_x64_20160217.dll’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
    File name: ‘file:///C:\Program Files\Autodesk\AutoCAD 2016\Support\CADTOXTRACT_cad2016_x64_20160217\CADTOXTRACT_cad2016_x64_20160217.dll’ —> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
    at System.Reflection.Assembly.LoadFrom(String assemblyFile)
    at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
    at loadmgd()
    ===

    Can you help, please?

    Thank you.

  12. CJD says:

    @VTF  I found problem with CADTOXTRACT_cad2016_x64_20160217.dll too.
    Try to use AutoCAD 2010 instead, and use CADTOXTRACT_cad2010 xxx.dll instead.
    I will try to fix the problem of the CADTOXTRACT_cad2016_x64_20160217.dll soon.

  13. jgzhao says:

    崔博士,您好!我认真学习了您编写的程序,但是您此处提供的几个版本出来修订好的那个2010版可以在CAD中打开之外,其它的版本均无法打开。这个2010版虽然可以打开,但是在抓取截面外轮廓线时却无法使用,弹出了警告。请您看下是什么问题!我的CAD是2008版本的。

  14. CJD says:

    @jgzhao  具体是什么问题呢,你可以加我qq。

  15. Train says:

    您好,关于您的插件我觉得很好用,但自定义截面无法定义截面的箍筋信息,请问这项不需要定义么?
    此外,对于XTRACT的材料定义需要进入软件后重新定义的话,想寻找更简便一些的办法,比如用户自定义那种,但学疏才浅,不太理解软件自定义材料那个对话框要怎样输入材料的本构关系,想请教您一般是如何定义材料的。

  16. CJD says:

    @Train  新版的软件导入XTRACT之后,默认已经按混凝土规范定义材料了。
    如果你是主要是设计用,可以不考虑箍筋的有利作用。

  17. Train says:

    感谢您的回复!那请问我要在XTRACT里分析截面,比如是型钢混凝土柱以及核心筒的剪力墙墙肢的话,导进去截面后材料属性就不需要修改了么?另外无约束混凝土这项也是直接忽略了是吗?

  18. CJD says:

    @Train  是的,不需要修改了,但是你还是要检查一下是不是符合你的概念。毕竟软件你是使用者,你要自己把握具体参数的正确性。
    另外,混凝土是按约束材料本构输入的,但是不考虑约束的作用默认,你可以根据需要自己定义。默认是忽略的,原因和你第一个问题一样。

  19. Train says:

    ok,谢谢!

  20. xxx says:

    You’re so cool! I don’t believe I’ve read tҺrough something likе this before.
    So great to find somebⲟdy wіth a few uniqսe thoughts on this
    sսbject. Seriously.. many thanks for starting this up.
    This site is one thing that is needed on the internet, someone with
    a ⅼittle originalitу!

  21. CAD2XTRACTv1.2插件增加带圆弧截面建模功能 | 崔济东的博客 - JiDong Cui's Blog says:

    […]   [1] [Tool] CADtoXTRACT 插件[AutoCAD转任意XTRACT截面] […]

  22. ming says:

    您好,我觉得插件很好用,
    我用的是CAD2012,开始还能用,
    但用过两次就无法再加载进去了,
    能否升级一个支持CAD2012版插件呢?

  23. CJD says:

    @ming  段时间暂未更新2012的。

  24. ming says:

    嗯,我会持续关注,
    谢谢你的无私分享!

  25. CJD says:

    @ming  谢谢~

  26. fij901108 says:

    崔博,下了您的最新程序,试着做了您传的例题文件,可以实现圆弧截面的导入,但我有一个带圆弧的截面怎么也导不进去,不知是怎么回事,可否麻烦帮助解决一下,多谢! :wink:

  27. CJD says:

    @fij901108  目前这个最新版是有点问题。

  28. DP says:

    Appгeciating the dedіcation you put into your blog
    and detɑiled information you рresent. It’s nice to come acrosѕ a blog еveгy
    once in a while that isn’t the same old rehashed information.
    Great read! I’ve saved your site and ӏ’m adding your
    RSS feeds to my Googlᥱ account.

Page 1 of 11

Leave a Reply

:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: