Let’s Start Programming! Forums CATIA Macro Programming Reuse Pattern Deletion

This topic contains 1 reply, has 2 voices, and was last updated by  Matt 2 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1646

    Hello

    Is there a way to delete Reuse pattern using a macro? I am not able to access the pattern object. Even the macro recorder doesn’t capture the deletion process.

    Thanks
    Dinesh

    #1701

    Matt
    Participant

    I don’t see it either, maybe try making a small code to see if there is a typename of the reuse pattern. if it has a type name, search for it in the help document.

    Sub CATMain()
    ‘Select the reuse pattern then tun this macro to see the typename
    ‘of the pattern in your VBA immediate window
    Debug.Print TypeName(CATIA.ActiveDocument.Selection.Item(1).Value)
    End Sub

Viewing 2 posts - 1 through 2 (of 2 total)

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