Skip to main content
7-Bedrock
October 14, 2021
Solved

Creo Parametric Toolkit API question

  • October 14, 2021
  • 1 reply
  • 1227 views
I am using Creo Parametric - Release 7.0 (connected) 7.0 7.0.0.0

The Creo Parametric Toolkit has a function called ProMechsurfacesAncestorsGet that retrieves the Creo Parametric surfaces used to derive a Creo Simulate surface. Creo Parametric 7.0 introduced support for multiple bodies. Is there a similar toolkit function (or set of functions) that can be used to retrieve the Creo ProSolidBody that a Simulate ProMechSolid is derived from? Thank you.
    Best answer by rghadge

    @BlairDownie,

     

    I dont see a direct API in Creo 7.0 yet. Possibly, you can try to get any one surface or edge or basically any modelitem of the MechSolid you have and then call ProGeomitemBodyGet() to get its ProSolidBody.

    1 reply

    rghadge17-PeridotAnswer
    17-Peridot
    October 22, 2021

    @BlairDownie,

     

    I dont see a direct API in Creo 7.0 yet. Possibly, you can try to get any one surface or edge or basically any modelitem of the MechSolid you have and then call ProGeomitemBodyGet() to get its ProSolidBody.