|
马上注册,结交更多同行朋友,交流,分享,学习。
您需要 登录 才可以下载或查看,没有帐号?注册
x
这是nx5.0帮助文档里面的一个介绍,大家可以按照自己的翻译理解一下,然后发表一下自己的看法
What is NX Open for .NET?
The NX Open for .NET API is an API for use with Microsoft's .NET framework. This API gives you access to NX core application functionality allowing you to create advanced automation programs using any of the .NET-compliant languages, including Visual Basic .NET. And, because the new Journaling tool also uses the VB .NET language, you can use the journaling system to quickly generate sample code that you can cut and paste directly into an automation program.
The .NET framework provides a huge library of re-usable software as well as a state-of-the-art develOPMent environment from Microsoft. This product is designed for users who want to take advantage of the benefits of .NET development on a Windows platform.
The NX Open for .NET API authoring tool is available as an add-on Application Programming Interface (API). You can use any .NET-compliant object browser to examine the automation interface.
Advantages of NX Open for .NET
NX Open for .NET supports:
- Microsoft .NET environment
- Object-oriented programming
- Remoting, distributed programming
NX Open for .NET allows you to:
- Write automation programs in Microsoft .NET supported languages like C#, managed C++, and Visual Basic .NET
- Leverage the features of the Microsoft Visual Studio .NET development environment
- Use Microsoft .NET framework classes in automation programs
- Create Graphical User Interfaces (GUI) using WinForms
- Write distributed clients, which can access an NX session running on a different machine
- Access the classes in the NX Open API, which are packaged in managed .NET DLLs
- Write mixed mode programs using both NX Open for .NET and .NET-wrapped User Function calls
NX provides an automation architecture that serves as the foundation for all NX APIs as well as a new journaling utility. Called the Common API, this foundation combines the power of journaling and automation with the freedom of a language-neutral platform. From this single-point foundation, UGS offers the following automation toolkits for NX:
NX Open C++ — A new Open C++ object oriented library derived from the Common API. This new Open C++ library is 100% compatible with the existing Open C and Open C++ APIs, and is the product through which users can enhance their existing Open C++ programs with calls to new NX functionality.
- Open C — The Open C API (a.k.a. User Function) is a direct programming interface to NX that allows users to create custom applications using the popular C programming language. It is used by NX developers, customers, and alliance partners to produce unique applications to augment NX or to act as completely separate utilities. Open C also provides a fully extensible data model, allowing customers to define new types of objects that can be treated just like standard NX objects and stored persistently in NX part files.
- Open C++ — Open C++ is an object–oriented interface to NX. Written in C++, this API takes full advantage of object–oriented features including inheritance, encapsulation and polymorphism. Open C++ provides complete access to its class hierarchy, allowing customers to override methods, derive their own classes, and create entirely new, persistent objects in NX. Open C++ is fully compatible with the existing Open C API.
NX Open for .NET — A new API for use with Microsoft's .NET framework. Built on the Common API, this interface provides programmatic access to NX core application functionality, making it possible to create advanced automation programs using any of the .NET-compliant languages, including Visual Basic.NET and C#. Because the API is built on the .NET framework, users can take full advantage of all the benefits provided by that framework, including native dialog development tools (Winforms). |
|