We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 769b6c3 commit ddded5bCopy full SHA for ddded5b
1 file changed
kratos.gid/scripts/Controllers/TreeInjections.tcl
@@ -295,6 +295,9 @@ proc spdAux::GetParameterValueString { param {forcedParams ""} {base ""}} {
295
switch $type {
296
"inline_vector" {
297
set ndim [string index $::Model::SpatialDimension 0]
298
+ if {[string is double $v]} {
299
+ set v [string repeat "${v}," $ndim]
300
+ }
301
# TODO: Add units when Compassis enables units in vectors
302
#append node "<value n='$inName' pn='$pn' v='$v' fieldtype='vector' $has_units dimensions='$ndim' help='$help' state='$state' />"
303
append node "<value n='$inName' pn='$pn' v='$v' fieldtype='vector' dimensions='$ndim' help='$help' state='$state' show_in_window='$show_in_window' />"
0 commit comments