요한 고 Wed, 12/21/2022 - 12:44 Forums: Data Exchange and Application FrameworkHello. I'd like to save it as BinOcaf using ocaf in winform. Do you have any samples or examples? Should I use OCCTProxy? Dmitrii Pasukhin Wed, 12/21/2022 - 13:15 Hello, To work with WinForm(C#), I would recommend using C++/CLI as a bridge or our Wrappers - Open Cascade. Additionally, you can find a WinForm code sample in the public repo OCCT, documentation: Open CASCADE Technology: .NET: Import/Export (C#|C++/CLI|WinForms|WPF) To make examples in C# I need more information: how you create document(BinOCAF)? Can you share a code sample, where you create a document? Best regards, Dmitrii. Log in to post comments john ko Fri, 12/23/2022 - 10:21 Currently, the step file is loaded and used I want to save this as a binary file in ocaf. Log in to post comments Dmitrii Pasukhin Fri, 12/23/2022 - 11:10 Before reading a STEP you need to create empty document. Please share this part of code. Best regards, Dmitrii. Log in to post comments
Wed, 12/21/2022 - 13:15
Hello,
To work with WinForm(C#), I would recommend using C++/CLI as a bridge or our Wrappers - Open Cascade.
Additionally, you can find a WinForm code sample in the public repo OCCT, documentation: Open CASCADE Technology: .NET: Import/Export (C#|C++/CLI|WinForms|WPF)
To make examples in C# I need more information: how you create document(BinOCAF)? Can you share a code sample, where you create a document?
Best regards, Dmitrii.
Fri, 12/23/2022 - 10:21
Currently, the step file is loaded and used I want to save this as a binary file in ocaf.
Fri, 12/23/2022 - 11:10
Before reading a STEP you need to create empty document. Please share this part of code.
Best regards, Dmitrii.