After that, all you need to do is open that XML file in Visual Studio, and it should automatically be converted and opened by NORMA. To be able to save that file, you will need to do a 'Save As' first. We require this so that users don't accidentally save over their original copy of the model without realizing it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My apologies, I forgot to mention one of the required steps.
In the Open File dialog, select the XML file exported from Visio. Then, click on the down arrow glyph on the right of the "Open" button. Select "Open With...", and a list of different editors should appear. Select "ORM Designer" from this list, and press "OK".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm, something would seem to be not working correctly.
Try opening the Visio.xml file in Studio's regular XML editor. Then, from the "XML" menu, choose "Show XSLT Output". It should prompt you whether you want to specify a stylesheet. Click yes, and browse to the "VisioToCoreModelImport.xslt" file.
Studio should then run the transform again your model file, and open the result in a new document window. What does the result like? Is it empty?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the current time, probably not.
As far as I know, Visio treats all the pages as part of a single model, and Orthogonal Toolbox only exports that backend model information, not the diagram, paging, and layout information.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How is this used to import visio files?
thanks
First, export your Visio model to XML using Orthogonal Toolbox, available from http://www.orthogonalsoftware.com/products.html
After that, all you need to do is open that XML file in Visual Studio, and it should automatically be converted and opened by NORMA. To be able to save that file, you will need to do a 'Save As' first. We require this so that users don't accidentally save over their original copy of the model without realizing it.
When in a ORM project the file>open just opens the xml file. No ORM conversion.
If its added to the solution the open with ORM designer doesn't convert it either.
tedc
My apologies, I forgot to mention one of the required steps.
In the Open File dialog, select the XML file exported from Visio. Then, click on the down arrow glyph on the right of the "Open" button. Select "Open With...", and a list of different editors should appear. Select "ORM Designer" from this list, and press "OK".
That's the problem. If using file.open from the top toolbar ORM designer is not listed.
If included into the sln, ORM designer is listed but doesn't convert.
tedc
What happens when it is included in the sln and you choose ORM Designer? Does it still open in the XML editor?
Actually if the Visio.xml file is included it the solution and then open with>ORM Designer it displays a blank tab named Visio.xml.
I can't see any data in any of the ORM browsers, etc.
tedc
Hmm, something would seem to be not working correctly.
Try opening the Visio.xml file in Studio's regular XML editor. Then, from the "XML" menu, choose "Show XSLT Output". It should prompt you whether you want to specify a stylesheet. Click yes, and browse to the "VisioToCoreModelImport.xslt" file.
Studio should then run the transform again your model file, and open the result in a new document window. What does the result like? Is it empty?
<?xml version="1.0" encoding="utf-8"?>
is in the new window. BTW Visio.xml is not under the ORMModel1.orm tree; its a peer.
tedc
In the Visio.xml file, what does the second line say? It should be something like "Generated by Orthogonal Toolbox (<version number>)"...
Bingo!
It works. It was the old rev of the Orth Toolbox that caused the problem.
Thanks ever so much.
tedc
Can the Visio be brought in page by page?
I have a large diagram generated by reverse engineering.
tedc
At the current time, probably not.
As far as I know, Visio treats all the pages as part of a single model, and Orthogonal Toolbox only exports that backend model information, not the diagram, paging, and layout information.