Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

ProMdl

  • Thread starter Thread starter raghu.patthar
  • Start date Start date
R

raghu.patthar

Guest
Hello All,


I want to create a empty Pro-e Model with all the defaults in it(plane, co-ordinate system, axis etc). Is there a Pro-Toolkit API available for this.





BR,


Raghu
 
Hi Raghu,


You can do it with API of Pro\Toolkit,for evey feature to create in Toolkit you need to fill the feature element tree strucute for the respective feature,if you miss any manadatory element it will be created as incomplete feature in model tree.


For every feature you have to fill the required element tree to achieve those.


You have sample code availible in the pro/toolkit folder,you can tweak to get your req't.
 
The other solution is to use a template model with all the default in it and create the new model by copy (ProMdlRetreive to retreive the template and ProMdlCopy).
 

Part and Inventory Search

Sponsor

Back
Top