Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Triquetrum/Opening A Model"

(Fixed import image)
(Added a link to Bug 220: https://github.com/eclipse/triquetrum/issues/220)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
This page is about how to open a model in [[Triquetrum]].  If you have not yet done so, see [[Triquetrum/Getting Started | Getting Started]]
+
This page is about how to open a model in [[Triquetrum]].  If you have not yet done so, see [[Triquetrum/Getting Started | Getting Started]].
  
Currently, the way to do this is to copy and paste the <code>.tdml</code> file.  ''Eventually, File->Open will work, see [https://github.com/eclipse/triquetrum/issues/65 #65 File->Open should be able to open a .tdml file].''
+
There are several ways to open a model:
  
1. Download [[File:ICEdemo1.zip | ICEdemo1.zip]] and unzip it
+
1. Create a project, then copy and paste the model in to Triquetrum.
 +
 +
2. An alternative is to use File -> Open File, which will not add the model to a project (See [https://github.com/eclipse/triquetrum/issues/65 #65 File->Open should be able to open a .tdml file])
  
2. In Triquetrum, create a project.  See [[Triquetrum/Getting Started | Getting Started]]
+
3. [[Triquetrum/Importing A Model | Import a model into a project]] (See [https://github.com/eclipse/triquetrum/issues/238 #238 File -> Open File... does not add a file to a project])
  
3. In Triquetrum, right click on the project, select Import -> General -> File System, browse to the directory containing the <code>ICEDemo1.tdml</code> file, select that file and click Open.
+
Below we create a project, then copy and paste the <code>.tdml</code> file.
  
[[File:TriquetrumImportGeneralFilesystem.png|450px]]
+
1. Download [[File:ICEdemo1.zip | ICEdemo1.zip]] and unzip it.
 +
 +
2. In the window system of your operating system copy the <code>ICEdemo1.tdml</code> file.
  
4. In the Import dialog, select the ICEDemo1.tdml file and click Finish.
+
3. In Triquetrum, create a project.  See [[Triquetrum/Getting Started | Getting Started]].
 +
 +
4. In Triquetrum, click on the project and then paste the contents of the copy buffer:
  
5. In the Triquetrum Package Explorer pane, click on the ICEdemo1.tdml icon. The model should open:
+
[[File:TriquetrumPastingAModel.png|250px]]
 +
 
 +
5. Then, click on the project name to show the name of the model:
 +
 
 +
[[File:TriquetrumOpeningProjectToShowPastedModel.png|250px]]
 +
 
 +
6. Click on the model file icon to open the file:
  
 
[[File:TriquetrumModelOpened.png|700px]]
 
[[File:TriquetrumModelOpened.png|700px]]
  
5. To run the model, the value of the <code>filePath</code> parameter must be updated.  To do update the value, hover over the filePath icon and select the configure dialog.
+
7. To run the model, the value of the <code>filePath</code> parameter must be updated.  To do update the value, hover over the filePath icon and select the configure dialog.
  
 
[[File:TriquetrumOpeningModelConfigureFilePath.png|350px]]
 
[[File:TriquetrumOpeningModelConfigureFilePath.png|350px]]
  
6. Click on the green run button in the upper left.  The model will run:
+
8. Click on the green run button in the upper left.  The model will run:
 
   
 
   
 
[[File:TriquetrumRunICEDemo1.png|550px]]
 
[[File:TriquetrumRunICEDemo1.png|550px]]
 +
 +
== See Also ==
 +
* [https://github.com/eclipse/triquetrum/issues/220 Bug #220: The model ICEdemo1.zip fails to open]
  
 
[[Category:Triquetrum]]
 
[[Category:Triquetrum]]

Latest revision as of 14:41, 24 July 2017

This page is about how to open a model in Triquetrum. If you have not yet done so, see Getting Started.

There are several ways to open a model:

1. Create a project, then copy and paste the model in to Triquetrum.

2. An alternative is to use File -> Open File, which will not add the model to a project (See #65 File->Open should be able to open a .tdml file)

3. Import a model into a project (See #238 File -> Open File... does not add a file to a project)

Below we create a project, then copy and paste the .tdml file.

1. Download File:ICEdemo1.zip and unzip it.

2. In the window system of your operating system copy the ICEdemo1.tdml file.

3. In Triquetrum, create a project. See Getting Started.

4. In Triquetrum, click on the project and then paste the contents of the copy buffer:

TriquetrumPastingAModel.png

5. Then, click on the project name to show the name of the model:

TriquetrumOpeningProjectToShowPastedModel.png

6. Click on the model file icon to open the file:

TriquetrumModelOpened.png

7. To run the model, the value of the filePath parameter must be updated. To do update the value, hover over the filePath icon and select the configure dialog.

TriquetrumOpeningModelConfigureFilePath.png

8. Click on the green run button in the upper left. The model will run:

TriquetrumRunICEDemo1.png

See Also

Back to the top