Skip to main content
1-Visitor
February 6, 2024
Solved

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

  • February 6, 2024
  • 1 reply
  • 1572 views

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?

Best answer by RPN

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 ðŸ˜€

1 reply

RPN18-OpalAnswer
18-Opal
February 6, 2024

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 ðŸ˜€

7-Bedrock
March 7, 2024

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! 🙂 

 

 

18-Opal
March 7, 2024
  • 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