I am trying to create a product using visual studio in CATIA. I have imported all the required references like INFITF MECMOD ProductStructureTypeLib. I have written a small code to create a product. It is working fine according to the code but instead of creating product. it is asking me to enter product name in catia window.
Code written so far.
Dim documents1 as documents
documents1=catiafile.documents
Dim productdocument1 as productdocument
productdocument1=documents1.add("Product")