So I'm fairly new with the CATIA V5 libraries (couldn't find any official documentation, if you know some please let me know so I can study it)
What I'm trying to achieve is to simplify working with standards at work, and I'm creating a program that will stitch the name and either create a file or insert directly to catia.
Thing is, I found some codes that do this, however none of them are working for me, I've read on this forum that the library type is also strict to which catia version I'm using, is that true?
Here's the method I want to use:
public class Insert
public static void InsertNewProduct(string productName)
catia = (Application)Interaction.GetObject(Class: "CATIA.Application");
catia = (Application)Interaction.CreateObject("CATIA.Application");
var newProduct = (ProductDocument)catia.Documents.Add("Product");
This is a separate project from the main that runs at Framework 4.8, main runs at .NET Core 6.0
any help or links would be appreciated,