]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.modeling/scl/Simantics/SCL.md
Truncate file after writing DataContainer to it
[simantics/platform.git] / bundles / org.simantics.modeling / scl / Simantics / SCL.md
1 # Simantics/SCL\r
2 \r
3 This module contains functions closely related to SCL and storing\r
4 SCL related constructs in the Simantics database.\r
5 \r
6 ## SCL Command Session\r
7 \r
8 ::data[CommandResponse]\r
9 ::value[createTextAndErrors]\r
10 ::value[execute]\r
11 ::value[isSuccessful]\r
12 \r
13 ### SCL Realm\r
14 \r
15 ::value[getOrCreateSCLRealm]\r
16 ::value[readSCLRealm]\r
17 ::value[refreshVariables]\r
18 ::value[sclRealmById]\r
19 ::value[syncExec]\r
20 \r
21 ### Command Session Variable Access\r
22 \r
23 ::value[setVariable]\r
24 ::value[variableValue]\r
25 \r
26 ## SCL Values\r
27 \r
28 ::value[createSCLValue]\r
29 ::value[createSCLValueIndependent]\r
30 ::value[setExpression]\r
31 \r
32 ## SCL Modules\r
33 \r
34 ::value[createSCLModuleAction]\r
35 ::value[createSCLModuleDefault]\r
36 ::value[createSCLModule]\r
37 ::value[createSCLModuleR]\r
38 ::value[createSCLModuleWithDefinition]\r
39 ::value[setSCLModuleDefinition]\r
40 \r
41 ## SCL Scripts\r
42 \r
43 ::value[createSCLScriptAction]\r
44 ::value[createSCLScriptDefault]\r
45 ::value[createSCLScript]\r
46 ::value[createSCLScriptR]\r
47 ::value[createSCLScriptWithDefinition]\r
48 ::value[setSCLScriptDefinition]\r
49 \r
50 ## Ontology definitions (PGraphs)\r
51 \r
52 PGraph (partial graph) is a textual format for specifying ontologies for Simantics.\r
53 For more information on the format, see [this documentation](http://dev.simantics.org/index.php/Graph_File_Format).\r
54 \r
55 ::value[createPGraphAction]\r
56 ::value[createPGraphDefault]\r
57 ::value[createPGraph]\r
58 ::value[createPGraphR]\r
59 ::value[setPGraphDefinition]\r