Skip to main content
10-Marble
Question

How to get the length of a sweep feature through Object Toolkit C++?

I am using Creo Parametric Release 8.0 and Datecode8.0.9.0

How to get the length of a sweep feature through Object Toolkit C++?

    4 replies

    17-Peridot

    I think you need to measure the length of the trajectory of a sweep feature.

     

    a) Get Element Tree of a sweep. Then find "PRO_E_SWEEP_FRAME_COMP" and get trajectory item (sketch, 3d curve.....)

    Take a look "Element Tree for PRO_E_SWEEP_FRAME_COMP"

     

    b) Using parent-child relations, find a trajectory of a sweep feature.

    Translate
    Grace2K10-MarbleAuthor
    10-Marble

    Hello @YaroslavSin 
    thanks for the answer but I need details about functions/methods to use.

    Translate
    17-Peridot

    @Grace2K wrote:
    but I need details about functions/methods to use.

    Hm.. Like this

    Translate