Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia Drawing. Insert Catalog vba code?

Status
Not open for further replies.

Mirme.lee

Aerospace
Jul 18, 2024
4
I'm going to insert a catalog symbol into DWG using a macro.
I'm going to put the symbol in the upper right corner of the drawing format with the DWG Revision box. I'm going to put the location in coordinates. ,

Example> set componentCatalog=CATIA.CatalogDocuments.item(c₩aa.catalog)
Set newComponentRef = componentCatalog.sheets.ActiveSheet.views.item(symbol)

However, it did not work normally, so I ask for help. .
 
Replies continue below

Recommended for you

I found out about catalog linkage, but I don't know how to insert the drawing symbols inside.

Open catalog code

Dim catalog1 As CatalogDocument
Set catalog1 = document1.Open("Detail_catalog.catalog")

I think I just need to load the symbol in the catalog. Please help me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor