File tree Expand file tree Collapse file tree
kratos.gid/scripts/Writing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -663,15 +663,19 @@ proc write::GetMatchSubModelPart { what {stage ""} } {
663663 set group_name [$group @n]
664664
665665 set group_name [write::GetWriteGroupName $group_name ]
666- if {$group_name ni $processed_groups_list } {lappend processed_groups_list $group_name } {continue }
667- if {$what == " condition" } {set cid [[$group parent] @n]} {
666+ # if {$group_name ni $processed_groups_list} {lappend processed_groups_list $group_name} {continue}
667+ if {$what == " condition" } {
668+ set cid [[$group parent] @n]
669+ } else {
668670 set element_node [$group selectNodes " ./value\[ @n='Element']" ]
669671 if {[llength $element_node ] == 0} {continue }
670672 set cid [write::getValueByNode $element_node ]
671673 }
672674 if {$cid eq " " } {continue }
673675 if {$what == " condition" } {set entity [::Model::getCondition $cid ]} {set entity [::Model::getElement $cid ]}
674676 if {$entity eq " " } {continue }
677+
678+ if {$group_name ni $processed_groups_list } {lappend processed_groups_list $group_name } {continue }
675679 if {$what == " condition" } {
676680 if {[$entity getGroupBy] eq " Condition" } {
677681 set good_name " _HIDDEN_$cid "
You can’t perform that action at this time.
0 commit comments