Skip to main content
1-Visitor
August 31, 2021
Question

RegenerateRelation() api not updating relation value in model

  • August 31, 2021
  • 1 reply
  • 1021 views
I am using Creo Parametric 2.0 M250

Requirement is to modify relation value in creo using Vb api
I am using RegenerateRelation ()api its giving following error
pfcExceptions::XToolkitGeneralError
at pfcls.IpfcRelationOwner.RegenerateRelations()
at customApp.modInit.changeDateFromRelation(IpfcModel iObjModel, String strToProcess)



Here are the errors that I faced
pfcExceptions::XToolkitGeneralError
at pfcls.IpfcRelationOwner.RegenerateRelations()
at customApp.modInit.changeDateFromRelation(IpfcModel iObjModel, String strToProcess)

    1 reply

    24-Ruby III
    October 2, 2021

    Read this article: "The VB method Regenerate() of pfcls.IpfcSolid fails with exception: IpfcXtoolkitBadContext in Creo Parametric 2.0": https://www.ptc.com/ru/support/article/cs70999