Article - CS181059

How to delete a component from an assembly by Creo Parametric customization?

Modified: 14-Jan-2025   


Applies To

  • Pro/ENGINEER and Creo Elements/Pro Wildfire 5.0
  • Creo Parametric 1.0 to 9.0
  • Toolkit

Description

  • How to delete a component from an assembly by Creo Parametric customization.
  • pfcModel.Delete() API causes error pfcXToolkitInUse on a component of an assembly.
  • pfcSolid.ExecuteFeatureOps() API causes error pfcXToolkitBadContext.
  • ProFeatureWithoptionsDelete() returns PRO_TK_BAD_INPUTS(-2) when using simular arguments as ProFeatureDelete() (Deprecated)
This is a printer-friendly version of Article 181059 and may be out of date. For the latest version click CS181059