Skip to main content
11-Garnet
May 4, 2026
Solved

API for "copy geometry" command and "intersect" command in toolkit.

  • May 4, 2026
  • 1 reply
  • 59 views

Hi everyone,
I am looking for an API for "copy geometry" command and "intersect" command in toolkit.
If its there can you help me with that.

Best answer by remy

Hi when you search the knowledge base you will find this article :

https://www.ptc.com/en/support/article/CS251415 that suggests to rely on the Element Tree methodology. Consequently there is no direct function per say. 

It gives away to look into the shipped example from the header file ProDataShareFeat.h.

Also a code sample has been dropped in this article https://www.ptc.com/en/support/article/CS362850 called 

How to create a local reference type copy geometry feature in Creo Parametric through Toolkit

 

1 reply

remy21-Topaz IAnswer
21-Topaz I
May 5, 2026

Hi when you search the knowledge base you will find this article :

https://www.ptc.com/en/support/article/CS251415 that suggests to rely on the Element Tree methodology. Consequently there is no direct function per say. 

It gives away to look into the shipped example from the header file ProDataShareFeat.h.

Also a code sample has been dropped in this article https://www.ptc.com/en/support/article/CS362850 called 

How to create a local reference type copy geometry feature in Creo Parametric through Toolkit

 

11-Garnet
May 5, 2026

Hi thanks for the reply I will go though the links