tekla自动标注调图插件


钢结构详图很好的一款辅助软件
资源截图
代码片段和文件信息
namespace Tekla.Technology.Akit.Userscript
{
    public class script
    {
        public static void Run(Tekla.Technology.Akit.Iscript akit)
        {
            string ver = Tekla.Structures.TeklaStructuresInfo.GetCurrentProgramVersion();
            int i = ver.IndexOf(‘ ‘);

            if (i > 0)
                ver = ver.Substring(0 i);

            Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(“Software\x_Drawer“);
            object val = key.GetValue(ver);
            string runPath = ““;

            if (val != null)
                runPath = System.Convert.ToString(val);
            else
                return;

            if (System.IO.File.Exists(runPath) == false)
                return;

            System.Diagnostics.Process process = new System.Diagnostics.Process();
            process.StartInfo.FileName = runPath;
            process.Start();
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-12-18 15:20  x_drawer
     文件      193316  2018-01-11 15:31  x_draweruser manual.pdf
     文件     3037727  2018-01-30 19:17  x_drawer
us example.pdf
     文件     3015528  2018-01-31 21:52  x_drawereng example.pdf
     文件      148992  2017-04-24 18:27  x_drawerapplicationsx_drawer copier.exe
     文件     1369600  2020-12-15 22:06  x_drawerapplicationsx_Drawer_211.exe
     文件     1367040  2020-12-15 22:06  x_drawerapplicationsx_Drawer_210.exe
     文件     1367040  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2020.exe
     文件     1369600  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2019i.exe
     文件     1367040  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2019.exe
     文件     1369600  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2018i.exe
     文件     1367040  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2018.exe
     文件     1369600  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2017i.exe
     文件     1367040  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2017.exe
     文件     1369600  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2016i.exe
     文件     1367040  2020-12-15 22:06  x_drawerapplicationsx_Drawer_2016.exe
     文件     1368576  2020-12-15 22:06  x_drawerapplicationsx_Drawer_201.exe
     文件     1363456  2020-12-15 22:06  x_drawerapplicationsx_Drawer_200.exe
     文件       14336  2020-03-25 23:27  x_drawerapplicationsutils.dll
     文件         372  2019-01-18 15:06  x_drawerapplicationsmacros埈徕嚆.txt
     文件         933  2017-11-30 23:47  x_drawerapplicationsmacrosx_drawer.cs
     文件        2102  2017-12-01 21:44  x_drawerapplicationsmacrosx_drawer.bmp
     文件         264  2019-01-18 15:09  x_drawerapplicationsmacrosManual.txt
     目录           0  2020-12-18 15:20  x_drawerapplicationsmacros
     文件       43808  2020-07-03 22:34  x_drawerapplicationslanguage.xml
     文件        4487  2018-01-29 23:57  x_drawerapplicationsattributesstandard.xml
     目录           0  2020-12-18 15:20  x_drawerapplicationsattributes
     目录           0  2020-12-18 15:20  x_drawerapplications
     文件      224768  2020-03-26 00:03  x_drawerx_Drawer.exe
     目录           0  2020-05-30 19:32  applications
     目录           0  2020-12-15 22:07  applicationsattributes
............此处省略26个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)