Skip to main content
7-Bedrock
Oct 14, 2021 5:30 PM UTC
Solved

Creo Parametric Toolkit API question

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.
    rghadgeAnswer
    17-Peridot
    Oct 22, 2021 11:50 AM UTC

    @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
    Oct 22, 2021 11:50 AM UTC

    @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.

    Translate