cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community will be on read only status starting March 23rd in preparation for moving our platform to a new provider. Read more here

Translate the entire conversation x

How do add new ModelItems to Model? Creo Parametric TOOLKIT / Object Toolkit

IR_10865152
2-Explorer

How do add new ModelItems to Model? Creo Parametric TOOLKIT / Object Toolkit

Hello everyone, I'm new to Creo and I am trying to figure out how to add objects to a Model.

I tried to create a new Part file and add some 3D points (as an example) but I cannot see them in a Window. Also, the number of ModelItems didn't change. 

 

Could you tell me, please, how to add new ModelItems?

ACCEPTED SOLUTION

Accepted Solutions
RPN
17-Peridot
17-Peridot
(To:IR_10865152)

If I understand the documentation, this will just init a 3D point struct, nothing more. You need to create a feature, or place an UDF to create new model items. Expect 2 lines more, of code 😀

View solution in original post

3 REPLIES 3
RPN
17-Peridot
17-Peridot
(To:IR_10865152)

If I understand the documentation, this will just init a 3D point struct, nothing more. You need to create a feature, or place an UDF to create new model items. Expect 2 lines more, of code 😀

bobrikula
7-Bedrock
(To:RPN)

RPN thank you for the answer.
Actually, it was not just 2 lines of code ( I needed to create a feature tree), but I managed to do it! 🙂 

 

 

RPN
17-Peridot
17-Peridot
(To:bobrikula)

  • Ok, that is good to know, personally I would exclude the feature tree code, because you rebuild the complexity in your code, and you loose flexibility. If you use an UDF, you have only to manage the location and a couple of variables. But this are only my 2 Cents 😉s
Announcements



Top Tags