Skip to main content
10-Marble
December 4, 2024
Question

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

  • December 4, 2024
  • 1 reply
  • 973 views
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++?

    1 reply

    17-Peridot
    December 5, 2024

    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.

    Grace2K10-MarbleAuthor
    10-Marble
    December 6, 2024

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

    17-Peridot
    December 8, 2024

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

    Hm.. Like this