Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

How to get FTA workbench? 1

Status
Not open for further replies.

Balaji R

Automotive
Jul 27, 2022
5
0
0
IN
Hello all,
Could any one please help me get FTA workbench. I tried like SPA workbench method but I am not able to get.

Code:
Dim partDocument1 As PartDocument
Set Partdocuemnt1 = CATIA.ActiveDocument
    
Dim Workbench1 As Workbench
Set Workbench1 = CATIA.ActiveDocument.GetWorkbench("FTAWorkbench")

Thanks in advance
Best regards,
Balaji R
 
Replies continue below

Recommended for you

Hello, you can try posted code, if it wont work, please let me know:
Code:
Sub CATMain()
    Dim ftaDoc 'As FtaDocument
    Set ftaDoc = CATIA.ActiveDocument

    Dim ftaRoot 'As FtaEvent
    Set ftaRoot = ftaDoc.FTASystem.RootEvent

    Dim ftaEvent 'As FtaEvent
    Set ftaEvent = ftaRoot.CreateEvent("RootEvent")
    ftaEvent.Description = "Root event"

    ftaDoc.Update
End Sub

Regards,
M
 
Good Day!

Especially to you Sir Fernando!

I'm new in the design industry and also first time user of CATIA and its macros like barely 6 months.

Can you please help me creating macro where you can engrave 3d text on surface without using drawing and DXF file?


 
Status
Not open for further replies.
Back
Top