Skip to main content
10-Marble
Dec 4, 2024 8:26 AM UTC
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
    Dec 5, 2024 6:18 AM UTC

    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
    Dec 6, 2024 3:32 PM UTC

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

    Translate
    17-Peridot
    Dec 8, 2024 11:02 AM UTC

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

    Hm.. Like this

    Translate