# -*- coding: utf-8 -*-
-# Copyright (C) 2014-2016 EDF R&D
+# Copyright (C) 2014-2022 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
import salome_pluginsmanager
def t_shape_fluid(context):
- activeStudy = context.study
+
+ #study = context.study
+ #sg = context.sg
#from salome.geom.t_shape import t_shape_builder
from salome.geom.t_shape import t_shape_dialog
dialog = t_shape_dialog.getDialog()
- dialog.setContext(context)
dialog.show()
salome_pluginsmanager.AddFunction('T shape fluid',