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, 3 months ago.

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


    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 If


Viewing 31 post (of 31 total)

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