Skip to main content

Notice: This Wiki is now read only and edits are no longer 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"

(Creating Importing a Model)
(Copy and Paste the model)
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. 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])
 +
3. [[Triquetrum/Importing A Model | Import a model into a project]]
  
1. Download [[File:ICEdemo1.zip | ICEdemo1.zip]] and unzip it
+
Below we create a project, then copy and paste the <code>.tdml</code> file.
  
[[Importing A Model]]
+
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.
  
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.
+
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:
 +
 
 +
[[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]]
 +
 
 +
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]]
  
 
[[Category:Triquetrum]]
 
[[Category:Triquetrum]]

Revision as of 13:13, 8 June 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 https://github.com/eclipse/triquetrum/issues/65 #65 File->Open should be able to open a .tdml file]) 3. Import a model into 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

Back to the top