Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
How can I create a part with default template using protoolkit?
I am using below API, but could not identify what to do next?
ProsolidCreate
ProSolidDisplay
Any suggestion will be of great help.
Thanks and Regards
Ketan
follow below steps for creating Part/Assembly/Drawing with default template or start part.
1) ProMdlRetrieve //Template or start part
2) ProMdlCopy //copy template
3) ProMdlNameGet //new model name from copied template name (name from point 2)
4)ProMdlRetrieve //Retrieve the new model
5)ProWindowCurrentGet //get current window
6)ProObjectwindowCreate //get retrieved model in current window
7)ProWindowActivate //activate window
8)ProMdlDisplay //new model display
9)ProWindowActivate //activate window.