Skip to content
Discussion options

You must be logged in to vote

set typedFeature : aql:newPartUsage

yes

set type : Mylib::A or aql:Mylib::A ? (with your model example)

no, you have to use the existing instance of a PartDefinition or any other compatible type. Either you have to use a SelectionDialogDescription to be able to select and existing element and then use this selected element in your "SetValue" or you must be able to navigate to the PartDefinition or any other compatible type from an accessible element in your context (self or newPartUsage), but it won't be easy because the sysml metamodel is complex (in my example if you start your navigation from newPartUsage you will have to navigate to its parent B then the parent of B, MyPkg and the…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@nlorit
Comment options

@AxelRICHARD
Comment options

@nlorit
Comment options

@AxelRICHARD
Comment options

Answer selected by nlorit
@nlorit
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants