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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get FTA workbench? 1

Status
Not open for further replies.

Balaji R

Automotive
Joined
Jul 27, 2022
Messages
5
Location
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
 
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.

Part and Inventory Search

Sponsor

Back
Top