For example, when I create a part in Catia, I add a plane at a certain offset. Now, I make a drawing, and want to include a table where this offset is listed. Manually, I can rightclick it, insert an attribute link, and click on the desired offset in the opened part to link them. However, I would like to automate the process. I succeeded in creating a table through a macro, and can list some properties like the part name through VPMReference.
Texts.GetItem("TitleBlock_Text_Title_1").InsertAttributeLink 0, 0, VPMRef, "Feature", "Name"
However, I cannot find a solution to link individual properties of the part through a macro. I tried recording a macro with the tools included in the Catia Drafting app, but the insertion of the macro does not get registered in them. I also cannot find any documentation on whether this would be possible at all or not. Anyone have any idea on how to tackle this problem? Thanks in advance!