Hi LWolf,
Thank you for the reply.
I tried using selection.search query but there is no object of type Line in my view. As you can see in the below image, the query does not return any object as the object type seems to be "GeneratedItem" instead of "Line".
Notice that the query from 1st...
I need a CATIA Macro that can create overall or maximum dimensions of a projected drawing view. The geometrical elements from the view has GenerativeBehaviour associated with it and the objects are named "GeneratedItem" with type View. Therefore, I cannot access the geometrical elements to give...
Hi Guys,
Just an update.
This issue was resolved with the answer : https://www.eng-tips.com/threads/catia-macro-to-insert-product-part-without-link.527298/post-9058874
Hi qiushui,
Thank you for the help.
I tried with the above method and it is working fine now. I can simultaneously call multiple parts and make changes in each instance without affecting the source file or other instances. I just need to rename the previous instance to a unique name before...
Hello,
I am writing a macro to insert a part/product under a root product without having a link to it's source file.
Usually we do that with powercopy or catalog but I do not have EKL License to use this functionalities through code.
If I do it with the usual AddComponent Method from...
Hi,
I am looking for a CATIA Macro to insert product/part in a root product with similar functionality like power copy or catalog browser where there is no link to source file when inserted.
I have tried with the usual method of AddComponent in Product.Products collection but I have to save...