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!
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.
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.
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 !
TANK YOU!!!!!!!!!! could not wait how to integrate all this with excel!!!
Great. Will come back with this begining of the next week!
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!
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.
Thank you for an insight!
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.
@josephsteiner2777 thank you for an insights!
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 !
how can you display the values of the array into the parametric diagram????? HELP PLEASE AND THANK YOU A LOT
Helow Ivan. See end of the video and sample in video description. Let us know if you have more questions or issues.
@@MBSEExecution thanks for the fast reply! I will do it!! Your videos have been so helpful
Thank you Ivan!