elmundo777
Automotive
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:
and the table I want to get:
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:
and the table I want to get: