Using Arrays in SysML Simulation

Поділитися
Вставка

КОМЕНТАРІ • 12

  • @syncrovibes
    @syncrovibes 3 роки тому +3

    TANK YOU!!!!!!!!!! could not wait how to integrate all this with excel!!!

    • @MBSEExecution
      @MBSEExecution  3 роки тому

      Great. Will come back with this begining of the next week!

  • @darius6984
    @darius6984 2 роки тому

    I'm able to 'add values' to value1 and value2; however, I'm unable to view the value columns like you have in 1:48. When I press 'Columns' > 'Select Nested Columns', the value1 and value2 are greyed out. It wont even let me select them for columns. Do you have a solution to this problem? I'm unable to go much further in the video without being able to see those columns. Thanks!

  • @josephsteiner2777
    @josephsteiner2777 Рік тому +1

    There is another way to get arrays as default values on properties. Go directly to the property where you want it, Default Value > select the arrow > Value Specification > Expression. Next set the operand of the Expression with the values you want (the operand in the expression needs to be set as a literal string made with square brackets around comma separated values, even if you are handling integers, booleans, or some other type), on the Property will end up looking like ([3, 5, 9]). When this simulates it will make an array exactly as described. It works for all value types and I assume it could even work with instance specifications some how.
    You can even write in the names of other Value Properties into the operand and it will solve for them filling their default values into the array as well, so long as the value property being being added to the array is ordered above the value properties calling it.

    • @MBSEExecution
      @MBSEExecution  Рік тому

      Thank you for an insight!

    • @josephsteiner2777
      @josephsteiner2777 4 місяці тому +1

      Just discovered an easier way. Instead of selecting Expression, select Opaque Expression and then you can directly type the square brackets with comma separated values.
      It is also worth noting, when using Strings you need quotes around each entry e.g. ["word", "wordtwo", "wordthree"].
      If you need multiple of the same value in the array, you need to uncheck the is unique property in the Properties specification.

    • @MBSEExecution
      @MBSEExecution  4 місяці тому

      @josephsteiner2777 thank you for an insights!

  • @mirnaojeda6868
    @mirnaojeda6868 Рік тому +1

    Thanks for the sharing the useful video. I'm trying to display in widget the array values (for example value2=[1,3,4]) but in the UIM diagram is displayed just the first value of array (in this case just the value 1 ), someone know if is possible to display the array values and no only the first value?. Thanks !

  • @IMTIvanBlake
    @IMTIvanBlake 3 роки тому +1

    how can you display the values of the array into the parametric diagram????? HELP PLEASE AND THANK YOU A LOT

    • @MBSEExecution
      @MBSEExecution  3 роки тому +1

      Helow Ivan. See end of the video and sample in video description. Let us know if you have more questions or issues.

    • @IMTIvanBlake
      @IMTIvanBlake 3 роки тому +1

      @@MBSEExecution thanks for the fast reply! I will do it!! Your videos have been so helpful

    • @MBSEExecution
      @MBSEExecution  3 роки тому +1

      Thank you Ivan!