Skip to main content
1-Visitor
Aug 31, 2021 7:59 AM UTC
Question

RegenerateRelation() api not updating relation value in model

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 IV
    Oct 2, 2021 8:27 AM UTC

    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

    Translate