Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

ProMdl

raghu.patthar

New member
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).
 

Sponsor

Articles From 3DCAD World

Back
Top