Let’s Start Programming! Forums CATIA Macro Programming Hou to deal with the parameters lihe this

This topic contains 1 reply, has 2 voices, and was last updated by  Emmett Ross 2 years, 8 months ago.

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

    wc.john
    Participant

    hi everyone:
    I am studying the Macro
    I record a Macro,like this:
    Set parameters1 = part1.Parameters
    Set hybridShapePointExplicit1 = parameters1.Item(“Point.3”)
    Set reference1 = part1.CreateReferenceFromObject(hybridShapePointExplicit1)
    But when I run the Macro,it make an error
    I don’t konw how to deal withe it,anyone tell me how to understand the parameters
    Please help me! Thanks very much!

    #1570

    Emmett Ross
    Keymaster

    Hi. This measurement macro will show you how to deal with parameters: http://www.scripting4v5.com/additional-articles/how-to-measure-distance-between-two-points-catia-macro/
    If you’re trying to do something specific and are having a problem please let me know.

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

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