When running shape replace on the Visio file below - receive the following error

25/06/2009 11:04:32 An unknown error has occurred during a Shape Replace in the file 'C:\Triaster\Showcase\3 Master\Tender.vdx'. This file will not be saved.

=== Begin For Triaster Support ===

The following content may be useful to the Triaster support team. Please copy and paste it into an e-mail to support@triaster.co.uk and attach any referenced files if you would like help understanding how to avoid this issue reoccurring. Referenced cell Geometry1.A5 does not exist. An unknown error has occurred during a Shape Replace in the file 'C:\Triaster\Showcase\3 Master\Tender.vdx'. This file will not be saved. System.Runtime.InteropServices.COMException (0x86DB0526): Referenced cell Geometry1.A5 does not exist.at Microsoft.Office.Interop.Visio.CellClass.set_FormulaForce(String )at triaster.ProcessNavigator.Common.ProcessObjects.Map.ReplaceShapeInstances(String strFind, String strReplace, String strStencil, Boolean blnPreserveProperties, Boolean blnReplaceVariants)at Triaster.ProcessNavigator.AnalystEdition.clsFileUpdate.ReplaceShapesChangeMaster(Collection colJobList, String strStencil, String strFileName, Boolean blnUpdateBackground, String strBackgroundShape)

The shape Terminator (oval shape) causes the error because the terminator is seen as a 1d shape and therefore can’t be replaced. This must be converted to a 2d shape using the procedure given below.

Also, the Visio Label shape also causes the same error:

08/03/2010 15:36:47An error occurred during a Shape Replace operation in the file 'C:\Triaster\Map Store\ProcessLibrary\Quality maps.vdx'.The shape with the id '46' on the page 'QA2' will not be replaced as it is 1-d (connector) shape.

Solution:

The unknown error above is fixed in version 4.63.

1d shapes will need to be converted to 2d before using shape replace by doing the following:

With the map open in Process Navigator, select Format -> Behavior from the menu.

On the Behavior tab, under Interaction style, select Box (2-dimensional).