Article - CS153755

Creo Parametric Toolkit example code to assemble a given part or assembly into an existing assembly using Mate and Align constraints through Element tree creation method

Modified: 09-Nov-2016   


Applies To

  • Creo Parametric 2.0 to 6.0

Description

  • Creo Parametric Toolkit example code to assemble a given part or assembly into an existing assembly using Mate and Align constraints through Element tree creation method
  • ProAsmCompConstraintsSet() triggers a regeneration every time a component is assembled.
  • This results in slower performance while programmatically assembling several hundreds of components. How to stop this impending model regeneration and improve performance ?
  • How to replace an existing part with a sub assembly instead of a part
  • Using "ProFeatureWithOptionsCreate" in Creo Toolkit, this working fine with part, not with assembly
This is a PDF version of Article CS153755 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS153755