Salome HOME
modif pour MT
[tools/eficas.git] / MED / Many_Concepts_52983_Cata.py
1 # coding: utf-8
2
3 from Accas import *
4
5 #class myMesh(ASSD): pass
6 class myModel(ASSD): pass
7
8 JdC = JDC_CATA(code='PATTERNS',
9                execmodul=None,
10                regles=(UN_PARMI('DEBUT', 'POURSUITE'),
11                        AU_MOINS_UN('FIN'),
12                        A_CLASSER(('DEBUT', 'POURSUITE'), 'FIN')))
13
14 DEBUT=PROC(nom="DEBUT", op=68, repetable='n', UIinfo={"groupes":("Group1",)}, ang="Debut Eng help",
15         PAR_LOT=SIMP(ang="Debut Par Lot help En",statut='o',typ=bool, defaut=True),
16 )
17 AFFE_MODELE=OPER(nom="AFFE_MODELE",op=None,sd_prod=myModel,
18          UIinfo={"groupes":("Group1",)},
19          ang="Model mesh definition EN",
20          MESH=SIMP(statut='o',typ='TXM',into=("mesh_01","mesh_02","mesh_03","mesh_04",) , defaut="mesh_01"),
21     #reentrant='n',
22     #regles=(AU_MOINS_UN('AFFE','AFFE_SOUS_STRUC'),UN_PARMI('MAILLAGE','GRILLE')),
23
24
25     block_mesh_01=BLOC(condition="MESH=='mesh_01'",
26         AFFE=FACT(statut='o', 
27             ALL=SIMP(statut='o', typ=bool,ang='ALL 01 help EN', defaut=True),
28             PHENOMENA=SIMP(statut='o',typ='TXM',into=('phenomena_01','phenomena_02',), defaut='phenomena_01'),
29             #MODELISATION=SIMP(statut='o',typ='TXM', min=2,max='**', into=("mesh_01","mesh_02","mesh_03","mesh_04",) ,ang='Input 01 list EN', fr='Input 01 list FR'),
30             MODELISATION=SIMP(statut='o',typ='TXM', min=2,max='**', into=('Item_01_01','Item_01_02',) ,ang='Input 01 list EN', fr='Input 01 list FR'),
31         ),
32     ),
33 )
34 FIN=PROC(nom="FIN",op=9999,repetable='n',ang="Finish help EN",UIinfo={"groupes":("Group1",)},
35     FORMAT_HDF =SIMP(ang="Save HDF EN",statut='f',typ='TXM',defaut="NON",into=("OUI","NON",) ), 
36 )
37
38 Classement_Commandes_Ds_Arbre=('DEBUT','MESH','AFFE_MODELE','FIN')
39 Ordre_Des_Commandes = ('DEBUT','MESH','AFFE_MODELE','FIN')