<tfoot id='0HEO9'></tfoot>
    <bdo id='0HEO9'></bdo><ul id='0HEO9'></ul>
<i id='0HEO9'><tr id='0HEO9'><dt id='0HEO9'><q id='0HEO9'><span id='0HEO9'><b id='0HEO9'><form id='0HEO9'><ins id='0HEO9'></ins><ul id='0HEO9'></ul><sub id='0HEO9'></sub></form><legend id='0HEO9'></legend><bdo id='0HEO9'><pre id='0HEO9'><center id='0HEO9'></center></pre></bdo></b><th id='0HEO9'></th></span></q></dt></tr></i><div id='0HEO9'><tfoot id='0HEO9'></tfoot><dl id='0HEO9'><fieldset id='0HEO9'></fieldset></dl></div>

    <small id='0HEO9'></small><noframes id='0HEO9'>

    1. <legend id='0HEO9'><style id='0HEO9'><dir id='0HEO9'><q id='0HEO9'></q></dir></style></legend>

        使用 C# 实现 Catia V5 自动化

        时间:2023-07-26
          <bdo id='au1fZ'></bdo><ul id='au1fZ'></ul>
        • <small id='au1fZ'></small><noframes id='au1fZ'>

          <tfoot id='au1fZ'></tfoot>

                  <tbody id='au1fZ'></tbody>
                <i id='au1fZ'><tr id='au1fZ'><dt id='au1fZ'><q id='au1fZ'><span id='au1fZ'><b id='au1fZ'><form id='au1fZ'><ins id='au1fZ'></ins><ul id='au1fZ'></ul><sub id='au1fZ'></sub></form><legend id='au1fZ'></legend><bdo id='au1fZ'><pre id='au1fZ'><center id='au1fZ'></center></pre></bdo></b><th id='au1fZ'></th></span></q></dt></tr></i><div id='au1fZ'><tfoot id='au1fZ'></tfoot><dl id='au1fZ'><fieldset id='au1fZ'></fieldset></dl></div>
                  <legend id='au1fZ'><style id='au1fZ'><dir id='au1fZ'><q id='au1fZ'></q></dir></style></legend>
                  本文介绍了使用 C# 实现 Catia V5 自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我想用编程语言 C# 为 Catia V5 编写宏/程序.

                  I want to write Macros/Programs for Catia V5 with the programming language C#.

                  如何通过 c#(和 Visual Studio)访问 Catia 应用程序.我搜索了一下,发现 Catia 提供了一个 API,Microsoft COM Technologie 为像 c# &蟒蛇.

                  How is it possible to access the Catia applicataion via c#(and Visual Studio). I searched a bit and found out that Catia provides an API, which the Microsoft COM Technologie provides for 'COM-languages' like c# & python.

                  这就是我想象的 C# 程序和 Catia 之间的连接/交互方式:

                  This is how I imagine the connection/interaction between a C# Programm and Catia:

                  C# - .NET <-双向集成-> COM <-> Catia API

                  对吗?

                  另外:如何在 Visual Studio 中设置所有内容,以便可以访问 Catia API(和代码完成等)

                  Also: How do I setup everything in Visual Studio , so that I can access the Catia API (and code completion etc.)

                  推荐答案

                  1) 在引用中添加INFITF typelib库,作为CATIA应用程序的接口

                  1) Add INFITF typelib library in reference which is interface to CATIA application

                  2) 像这样将CATIA定义为全局变量

                  2) Define CATIA as global variable as like

                     INFITF.Application CATIA;
                  

                  3) 将 catia 应用程序绑定到您的 CATIA 变量,如下所示

                  3) Bind the catia application to your CATIA variable as below statement

                     CATIA = (INFITF.Application)Marshal.GetActiveObject("Catia.Application");
                  

                  希望这可以帮助您入门.

                  Hope this would helps you to get started.

                  这篇关于使用 C# 实现 Catia V5 自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:异步可插拔协议 下一篇:致命的执行引擎错误 (79FFEE24) (80131506)

                  相关文章

                1. <tfoot id='UI1qP'></tfoot>
                    <bdo id='UI1qP'></bdo><ul id='UI1qP'></ul>

                2. <legend id='UI1qP'><style id='UI1qP'><dir id='UI1qP'><q id='UI1qP'></q></dir></style></legend>
                  <i id='UI1qP'><tr id='UI1qP'><dt id='UI1qP'><q id='UI1qP'><span id='UI1qP'><b id='UI1qP'><form id='UI1qP'><ins id='UI1qP'></ins><ul id='UI1qP'></ul><sub id='UI1qP'></sub></form><legend id='UI1qP'></legend><bdo id='UI1qP'><pre id='UI1qP'><center id='UI1qP'></center></pre></bdo></b><th id='UI1qP'></th></span></q></dt></tr></i><div id='UI1qP'><tfoot id='UI1qP'></tfoot><dl id='UI1qP'><fieldset id='UI1qP'></fieldset></dl></div>

                  <small id='UI1qP'></small><noframes id='UI1qP'>