Article - CS8883

J-Link, Web.Link and VB API methods Regenerate() and ExecuteFeatureOps() throw XToolkitBadContext exception in Creo Parametric.

Modified: 22-May-2025   


Applies To

  • Pro/ENGINEER and Creo Elements/Pro Wildfire 5.0
  • Creo Parametric 1.0 to 9.0
  • Pro/ENGINEER Wildfire VB API
  • Creo Elements/Pro VB API
  • Creo Parametric VB API
  • Pro/ENGINEER Wildfire J-Link
  • Creo Elements/Pro J-Link
  • Creo Parametric J-Link
  • Pro/ENGINEER Wildfire Web.Link
  • Creo Elements/Pro Web.Link
  • Creo Parametric Web.Link

Description

  • J-Link, Web.Link and VB API methods Regenerate() and ExecuteFeatureOps() throw XToolkitBadContext exception in Creo Parametric.
  • J-Link Install Test fails and never succeeds with Creo Element/Pro 5.0 or later versions.
  • J-Link Install Test and Excercise 5 does not execute as expected.
  • J-Link methods pfcSolid.Solid.Regenerate() and pfcSolid.Solid.ExecuteFeatureOps() throw an exception pfcExceptions.XToolkitBadContext.
  • VB API methods IpfcSolid.Regenerate() and IpfcSolid.ExecuteFeatureOps() throw an exception IpfcXToolkitBadContext in Creo Elements/Pro 5.0.
  • ExecuteFeatureOps() throws XToolkitBadContext exception if RegenInstructions.SetRefreshModelTree() is set to TRUE.
  • Regenerating an assembly does not work using API Regenerate().
This is a printer-friendly version of Article 8883 and may be out of date. For the latest version click CS8883