# How-to Guides

**URL:** https://forum.sensmetry.com/c/syside/how-to-guides/8.md?page=1

[Latest](https://forum.sensmetry.com/latest.md) · [Categories](https://forum.sensmetry.com/categories.md) · [Tags](https://forum.sensmetry.com/tags.md)

**Page:** 2

---

## [Executing actions to change attribute values](https://forum.sensmetry.com/t/executing-actions-to-change-attribute-values/243)

<div class="topic-metadata">

**Author:** [@Axel](https://forum.sensmetry.com/u/Axel)\
**Replies:** 1\
**Last updated:** [October 6, 2025, 2:18pm UTC](https://forum.sensmetry.com/t/executing-actions-to-change-attribute-values/243 "2025-10-06T14:18:27Z")

</div>

Is Automator is able to execute actions to change values of attributes? For example, to execute a state entry action: part system { attribute someValue default 0; } state mode { state firstState { entr…

---

## [Get subsetting feature from other file](https://forum.sensmetry.com/t/get-subsetting-feature-from-other-file/233)

<div class="topic-metadata">

**Author:** [@Klara](https://forum.sensmetry.com/u/Klara)\
**Replies:** 5\
**Last updated:** [October 3, 2025, 11:34am UTC](https://forum.sensmetry.com/t/get-subsetting-feature-from-other-file/233 "2025-10-03T11:34:20Z")

</div>

I want to get the subsetting feature, but it is displayed as anonymous element. I have file 1 with: package package1 { private import testPackage::\*; attribute attribute2 :\> part1.attribute1; } and another file w…

---

## [How can I set a feature reference expression?](https://forum.sensmetry.com/t/how-can-i-set-a-feature-reference-expression/140)

<div class="topic-metadata">

**Author:** [@Klara](https://forum.sensmetry.com/u/Klara)\
**Replies:** 9\
**Last updated:** [September 18, 2025, 10:49am UTC](https://forum.sensmetry.com/t/how-can-i-set-a-feature-reference-expression/140 "2025-09-18T10:49:08Z")

</div>

Hi, I want to reference to an element with a feature value expression. I have a model like this: package Structure { attribute attribute1; attribute attribute2; } and want to get a model like this: package Struct…

---

## [Method to load visualisations using Automator](https://forum.sensmetry.com/t/method-to-load-visualisations-using-automator/235)

<div class="topic-metadata">

**Author:** [@simon\_stenger](https://forum.sensmetry.com/u/simon_stenger)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 10:31am UTC](https://forum.sensmetry.com/t/method-to-load-visualisations-using-automator/235 "2025-09-18T10:31:49Z")

</div>

Hi, I am currently trying to create a Python GUI allowing users to modify a model without learning SysML syntax. I would like to include the figures that the Tom Sawyer integration provides in Modeler. Is there a way to…

---

## [SysML v2 Textual Notation Cheatsheet (2025-08)](https://forum.sensmetry.com/t/sysml-v2-textual-notation-cheatsheet-2025-08/193)

<div class="topic-metadata">

**Author:** [@Zygimantas](https://forum.sensmetry.com/u/Zygimantas)\
**Replies:** 3\
**Last updated:** [September 5, 2025, 1:42pm UTC](https://forum.sensmetry.com/t/sysml-v2-textual-notation-cheatsheet-2025-08/193 "2025-09-05T13:42:48Z")

</div>

Hi! We’re making available our first SysML v2 Textual Notation Cheatsheet! This is a quick reference guide that covers the basics of the SysML v2 language, including: Constructs & Expressions: Learn the syntax for co…

---

## [Referential Usage Creation with Automator](https://forum.sensmetry.com/t/referential-usage-creation-with-automator/229)

<div class="topic-metadata">

**Author:** [@Rypke](https://forum.sensmetry.com/u/Rypke)\
**Replies:** 3\
**Last updated:** [August 29, 2025, 1:55pm UTC](https://forum.sensmetry.com/t/referential-usage-creation-with-automator/229 "2025-08-29T13:55:12Z")

</div>

Hi there, I have trouble with defining a referential usage using automator. For creating a owning membership I use: parent.children.append(syside.OwningMembership, el\_type) (in which parent is a syside.Element but thi…

---

## [Metadata keyword short name](https://forum.sensmetry.com/t/metadata-keyword-short-name/223)

<div class="topic-metadata">

**Author:** [@Klara](https://forum.sensmetry.com/u/Klara)\
**Replies:** 9\
**Last updated:** [August 28, 2025, 11:51am UTC](https://forum.sensmetry.com/t/metadata-keyword-short-name/223 "2025-08-28T11:51:39Z")

</div>

Hi, I want to create a metadata keyword like this: @metadata1; for a metadata defined in another package: package metadataDefs { metadata def \<metadata1\> DefinedMetadata :\> Metaobjects::SemanticMetadata; …

---

## [How to see the ports of instantiated parts](https://forum.sensmetry.com/t/how-to-see-the-ports-of-instantiated-parts/176)

<div class="topic-metadata">

**Author:** [@Alejandro\_Nieto](https://forum.sensmetry.com/u/Alejandro_Nieto)\
**Replies:** 2\
**Last updated:** [August 3, 2025, 3:18am UTC](https://forum.sensmetry.com/t/how-to-see-the-ports-of-instantiated-parts/176 "2025-08-03T03:18:44Z")

</div>

Hello, having the following part definitions: And instantiating them in a different package and also create the corresponding interfaces: I’m not able to see the ports and port names properly in Modeler: As …

---

## [How to generate multiple diagrams with SysIDE Modeler?](https://forum.sensmetry.com/t/how-to-generate-multiple-diagrams-with-syside-modeler/170)

<div class="topic-metadata">

**Author:** [@Alberto.Gonzalez](https://forum.sensmetry.com/u/Alberto.Gonzalez)\
**Replies:** 5\
**Last updated:** [July 17, 2025, 1:59pm UTC](https://forum.sensmetry.com/t/how-to-generate-multiple-diagrams-with-syside-modeler/170 "2025-07-17T13:59:52Z")

</div>

Hi, I have a large model in a single .sysml file. When I try to launch Modeler, the visualization window stays blank, probably because it doesn’t know what to show. Typically, I would like to generate several diagrams …

---

## [Syntaxes sub-folder within syside-vscode/syntaxes is re-generated after every build](https://forum.sensmetry.com/t/syntaxes-sub-folder-within-syside-vscode-syntaxes-is-re-generated-after-every-build/156)

<div class="topic-metadata">

**Author:** [@Ehsan\_ahmad](https://forum.sensmetry.com/u/Ehsan_ahmad)\
**Replies:** 1\
**Last updated:** [July 14, 2025, 6:27am UTC](https://forum.sensmetry.com/t/syntaxes-sub-folder-within-syside-vscode-syntaxes-is-re-generated-after-every-build/156 "2025-07-14T06:27:46Z")

</div>

Hi, I am running syside from the source and noticed that syntaxes sub-folder within syside-vscode/syntaxes is re-generated after every build. Can this be a reason for KerML and SysML languages are not loaded in the exte…

---

## [Calculation with contraints](https://forum.sensmetry.com/t/calculation-with-contraints/148)

<div class="topic-metadata">

**Author:** [@GehlsenAndy](https://forum.sensmetry.com/u/GehlsenAndy)\
**Replies:** 1\
**Last updated:** [July 3, 2025, 8:37am UTC](https://forum.sensmetry.com/t/calculation-with-contraints/148 "2025-07-03T08:37:10Z")

</div>

Hello community, do anyone know how it is possible to use SysIDE to check compliance with all defined contraints? Example: require contraint{ maxLatTime \>= realLatTime} realLatTime = latTime1 + latTime2; So I have …

---

## [Allocation Usage](https://forum.sensmetry.com/t/allocation-usage/138)

<div class="topic-metadata">

**Author:** [@Klara](https://forum.sensmetry.com/u/Klara)\
**Replies:** 3\
**Last updated:** [June 25, 2025, 7:17am UTC](https://forum.sensmetry.com/t/allocation-usage/138 "2025-06-25T07:17:23Z")

</div>

How can I write an allocation usage with the Automator? I have a model like this: attribute attribute1; attribute attribute2; and want to extend my model with an allocation like this: allocate attribute1 to attribute2…

---

## [How can I get attribute values?](https://forum.sensmetry.com/t/how-can-i-get-attribute-values/132)

<div class="topic-metadata">

**Author:** [@Klara](https://forum.sensmetry.com/u/Klara)\
**Replies:** 1\
**Last updated:** [June 10, 2025, 2:50pm UTC](https://forum.sensmetry.com/t/how-can-i-get-attribute-values/132 "2025-06-10T14:50:27Z")

</div>

I want to get the value of “type”. My starting point is the element “type” with qualified\_name = Structure::vehicle::type. Thanks for your help! part def Vehicle { attribute type; } part vehicle : Vehicle { …

---

## [Relationships Mappings SysML v1.6 to SysML v2.0](https://forum.sensmetry.com/t/relationships-mappings-sysml-v1-6-to-sysml-v2-0/127)

<div class="topic-metadata">

**Author:** [@dkrgn](https://forum.sensmetry.com/u/dkrgn)\
**Replies:** 1\
**Last updated:** [June 9, 2025, 7:51am UTC](https://forum.sensmetry.com/t/relationships-mappings-sysml-v1-6-to-sysml-v2-0/127 "2025-06-09T07:51:10Z")

</div>

Hello Community! I have a quick question over the mappings from SysML v1.6 to SysML v2.0 concepts. Currently, I’m doing a Master thesis on transition between versions, and for this I’m using a mapping file called ‘Part 2…

---

## [How can I extract the elements referenced by the ends of a ConnectionUsage?](https://forum.sensmetry.com/t/how-can-i-extract-the-elements-referenced-by-the-ends-of-a-connectionusage/96)

<div class="topic-metadata">

**Author:** [@Ricardas\_Navickas](https://forum.sensmetry.com/u/Ricardas_Navickas)\
**Replies:** 4\
**Last updated:** [June 5, 2025, 8:36am UTC](https://forum.sensmetry.com/t/how-can-i-extract-the-elements-referenced-by-the-ends-of-a-connectionusage/96 "2025-06-05T08:36:01Z")

</div>

Here is my model (minimized and obfuscated): package P1 { part A { out port o; } } package P2 { part B { in port i; connect P1::A.o to i; } } I want to use SysIDE Automator to e…

---

## [How to find elements of the root namespace using Automator?](https://forum.sensmetry.com/t/how-to-find-elements-of-the-root-namespace-using-automator/79)

<div class="topic-metadata">

**Author:** [@JaneM](https://forum.sensmetry.com/u/JaneM)\
**Replies:** 4\
**Last updated:** [June 3, 2025, 9:50am UTC](https://forum.sensmetry.com/t/how-to-find-elements-of-the-root-namespace-using-automator/79 "2025-06-03T09:50:29Z")

</div>

package A { package B {} } Say the above is my SysML v2 code - How can I check if an element is in the root namespace using Automator? E.g. I want to match package A but not package B.

---

## [Where can I find the reference path of an element?](https://forum.sensmetry.com/t/where-can-i-find-the-reference-path-of-an-element/84)

<div class="topic-metadata">

**Author:** [@Blake](https://forum.sensmetry.com/u/Blake)\
**Replies:** 2\
**Last updated:** [June 3, 2025, 9:45am UTC](https://forum.sensmetry.com/t/where-can-i-find-the-reference-path-of-an-element/84 "2025-06-03T09:45:21Z")

</div>

Hi, I’m trying to understand where in the SysIDE element can I find the reference path? Is it stored at all? Say I have this model: package A { part def Electrical { attribute Power; } part Motor…

---

## [How to find all instances of a defined part?](https://forum.sensmetry.com/t/how-to-find-all-instances-of-a-defined-part/81)

<div class="topic-metadata">

**Author:** [@varen\_a](https://forum.sensmetry.com/u/varen_a)\
**Replies:** 4\
**Last updated:** [May 22, 2025, 1:13pm UTC](https://forum.sensmetry.com/t/how-to-find-all-instances-of-a-defined-part/81 "2025-05-22T13:13:38Z")

</div>

I want to define a new kind of part and then using Automator efficiently find all instances of that part. Currently, I am trying to do that as follows: Library definition: library package SPECTRA { private import M…

---

## [How to extract attributes from inside transitions?](https://forum.sensmetry.com/t/how-to-extract-attributes-from-inside-transitions/76)

<div class="topic-metadata">

**Author:** [@james\_frost](https://forum.sensmetry.com/u/james_frost)\
**Replies:** 3\
**Last updated:** [May 22, 2025, 12:11pm UTC](https://forum.sensmetry.com/t/how-to-extract-attributes-from-inside-transitions/76 "2025-05-22T12:11:30Z")

</div>

package Demo { state def A\_behavior { attribute def GoOnline {} attribute def GoOffline {} entry; then OFF; // defines OFF as initial state state OFF {} state ONLINE {…

[Previous page](https://forum.sensmetry.com/c/syside/how-to-guides/8.md)
