From: pascale.noyret Date: Mon, 1 Apr 2019 12:14:46 +0000 (+0200) Subject: oubli por test ASSD et USerASSD X-Git-Tag: avantMenage~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=de6d1af41302e656f0e734a991cdab1f842a8969;p=tools%2Feficas.git oubli por test ASSD et USerASSD --- diff --git a/Accas/A_ASSD.py b/Accas/A_ASSD.py index afa935fa..9b43ab8a 100644 --- a/Accas/A_ASSD.py +++ b/Accas/A_ASSD.py @@ -60,3 +60,9 @@ class fonction(N_FONCTION.formule,I_FONCTION.fonction,ASSD): class GEOM(N_GEOM.GEOM,I_ASSD.GEOM,ASSD):pass class geom(N_GEOM.geom,I_ASSD.geom,ASSD):pass class CO(N_CO.CO,I_ASSD.CO,ASSD):pass + +class UserASSD(ASSD): + def __init__(self, nom): + ASSD.__init__(self) + self.setName(nom) + diff --git a/Accas/__init__.py b/Accas/__init__.py index ae1d09c0..51677f4d 100644 --- a/Accas/__init__.py +++ b/Accas/__init__.py @@ -69,7 +69,7 @@ from .A_ENSEMBLE import ENSEMBLE from .A_A_CLASSER import A_CLASSER from .A_AVANT import AVANT -from .A_ASSD import ASSD,assd +from .A_ASSD import ASSD,assd, UserASSD from .A_ASSD import GEOM,geom # Pour le moment on laisse fonction (ceinture et bretelles) from .A_ASSD import FONCTION, fonction