Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
@SK_9994711 Please make sure that the relations you are writing in the model are valid and do not have any errors. Try writing the exact same relations manually from UI and see if there are any errors. On which Object you are calling RegenerateRelations() ? is it a feature or the model ? Share your code snippet and a sample model if possible.
The relation change made and appended to the model was successful. There were a couple of evaluation errors present in the model which was resulting in warning message "warning Probable error in function evaluation". Due to this, RegenerateRelation() was throwing exception pfcExceptions::XToolkitGeneralError.
RegenerateRelation() was successful as expected when there were no relation errors or evaluation warnings present in the model relations.
-Seshu