Skip to content

Commit 71f5d14

Browse files
We will no longer need the Before mesh generation in structural
1 parent f53495e commit 71f5d14

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

kratos.gid/apps/Stent/start.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ proc ::Stent::CustomToolbarItems { } {
4949
}
5050

5151
proc ::Stent::BeforeMeshGeneration { size } {
52-
::Structural::BeforeMeshGeneration $size
52+
catch {::Structural::BeforeMeshGeneration $size}
5353
}

kratos.gid/apps/Structural/start.tcl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,6 @@ proc ::Structural::Init { app } {
2222
::Structural::write::Init
2323
}
2424

25-
# Create the old-gid condition relation_line_geo_mesh to link geometry and mesh entities.
26-
# Topic: Local axes, beams
27-
# TODO: remove this when GiD creates this relation automatically
28-
proc ::Structural::BeforeMeshGeneration { size } {
29-
GiD_UnAssignData condition relation_line_geo_mesh Lines all
30-
foreach group [GiD_Groups list] {
31-
GiD_AssignData condition relation_line_geo_mesh Lines {0} [GiD_EntitiesGroups get $group lines]
32-
}
33-
}
34-
3525
# Some conditions applied over small displacement parts must change the topology name... una chufa
3626
proc ::Structural::ApplicationSpecificGetCondition {condition group etype nnodes} {
3727
return [Structural::write::ApplicationSpecificGetCondition $condition $group $etype $nnodes]

0 commit comments

Comments
 (0)