In Creo 2 I have a mapkey that removes formats on a drawing. It doesn't matter if it's one sheet or 20. I have it working with a batch file. Then I have the mapkey stop for the users at the point where they can select which format to use as a replacement.
I don't have it developed enough though to add the format the user selects to all sheets. The user has to manually add the format to each sheet in the Sheet Setup dialog box.
As you might suspect not all our drawings are the same size. In order to do this I created the mapkey to replace the existing format with a blank B size format temporarily. (Don't ask. There is a reason for this)
The problem that comes up is when a drawing that is a D size is replaced with a different sized format (In this case a B size blank sheet), then the new D size format is added, the dimensions on the second page move. They all move farther away from the model. Many of these drawings have plain text on the drawing that is shown over the model. The text is related to the view and the text moves too. The text moves whether it is related or not to the view.
Now for the really odd part. After the mapkey removes the formats I added a pause for the user to check that the formats were removed from all sheets. If the user doesn't change sheets to check then the dims and text move. However, if the user DOES switch sheets to check then the dims and text do NOT move. Huh?
I know I could just tell the user to check the other sheets. That's ok if there are only 2 or 3 sheets. But all the drawings created by our mfg engineers have many more sheets.
Does anyone know if there is something that fixes this phenomenon?
Well only one response so far. Brian K suggested using JLink and was only too generous to offer some help. But I know very little (read: nearly nothing) about java programming and JLink.