cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

RegenerateRelation() api not updating relation value in model

SK_9994711
3-Visitor

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 1

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