Error Message:
'Failed to Persist - check an active model has been selected' shows in Message Centre
Solution 1: MX Model Changed:
When an OpenRoads element has been Exported to Native (MX Model) additional information is stored in the OpenRoads element linking it to the native model.
The image below is the Element information panel for a just created element.
The image below is the Element information panel for the same element after it has been exported to native, this shows the MX model and string name now associated with this element.
Changing the MX model from DESIGN IMPORT to DESIGN IMPORT 2 in the Feature Definition Toggle Bar as below and re-exported that element to native will display a Failed to Persist message.
The Failed to Persist message appears due to the element already being linked to an MX model when it was originally exported to native.
How to Resolve
If you require the element to be exported to another MX model you can change the Model Name in the dropdown list of the Element information panel as below.
This will move the element to that model. The Export to Native function will now work as the Feature Definition Toggle Bar has been set to match the MX model linked with the OpenRoads Element.
Solution 2: MX String Removed:
When the MX string linked with the OpenRoads Element has been deleted from the MX model the Failed to Persist message appears when re-exported to native.
Select the element and go to the Element information panel. Click into the string name box.
Hit the Enter key and this will re-create the string in the MX model. The Export to Native function will now work as a corresponding string now exists in the model to be updated.