Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Jun 23, 2020
Messages
93
Location
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top