Learn about Webel's comprehensive SysMLv2 Workshop Seminar course!
Webel now has a SysMLv2 Online Self-Study course with self-test Quizzes!
Learn about the Webel Q&A     online self-testing system for SysML v2/v1
Learn about the Webel SysMLv2 Ports audio mixer case study course module!

Webel Best Practice: SysMLv2: TIP: Want an "anonymous" element that you can still refer to in code? Give it a <shortName> so you can use to identify it in code then hide the short name in Views using Symbol Styles!

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
SysMLv2 keywords
Keywords
Click on the image to view it full size

You can of course in most cases just hide the name anyway. The slight advantage of this tip in some cases is that it acts as a mental prod to "Trust The Type" in Views instead of introducing verbose names that add nothing (the exception being where there is more than one element of the same nature in the same context in which case a brief role indicator name or acronym is useful).

When used in a feature value such as = shortName.sneaky the short name used for identification in the feature path of course necessarily displays anyway.

The relative benefits for SysMLv2 compared with anonymous property usage in SysMLv1 are perhaps not as compelling, but it's worth knowing that it can be done this way just using the short name.

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)