Let’s Start Programming! Forums CATIA Macro Programming Activate solid in a part

This topic contains 30 replies, has 3 voices, and was last updated by  ramzar 3 years ago.

Viewing 31 post (of 31 total)
  • Author
    Posts
  • #1383

    ramzar
    Participant

    I finnaly found how to check the active workbench. Here is the code do verify:

    […]
    Dim woid As String ‘workobjectid
    woid = CATIA.GetWorkbenchId
    If woid <> “Assembly” Then
    MsgBox (“Be active in a product”)
    End
    End If

    […]

Viewing 31 post (of 31 total)

The forum ‘CATIA Macro Programming’ is closed to new topics and replies.