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: 12-Jun-2023   


Applies To

  • Creo Parametric 2.0 to 10.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 printer-friendly version of Article 153755 and may be out of date. For the latest version click CS153755