Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! 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.