Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

CATIA File extension

Status
Not open for further replies.

elmundo777

Automotive
Jun 23, 2020
93
BY
Hello
How can I check Catia file extension\type?
For example, I have a table with names. But I don't know extensions of this files (parts\products\drawings).

And I want to write a vba\script\c# macro, that can identify doc types.

For example (pseudocode):
if (Catia.ActiveDocument = ".CATProduct")
{filename = current_name + ".CATProduct"}

if (Catia.ActiveDocument = ".CATPart")
{filename = current_name + ".CATPart"}

And images showing the current table:
table_x3l4cg.png


and the table I want to get:

need_ejcglh.png
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top