Code_Aster ®
Version
7.4
Titrate:
Procedure IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. Key PELLET
:
U4.91.11-H Page
: 1/4
Organization (S): EDF-R & D/AMA
Handbook of Utilization
U4.9- booklet: Impression of the results and tests
Document: U4.91.11
Procedure IMPR_CO
1 Goal
To print all the objects JEVEUX which constitute an existing concept.
This command is intended above all for the “debugage”. Contents of objects JEVEUX that one
print comprehensible in theory only by developers is not provided with their documentation D.
In particular, the format of these objects can change without dialog with the users. It is thus
very be likely to use these writings in “postprocessings” or “chainings” towards other codes.
Handbook of Utilization
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. Key PELLET
:
U4.91.11-H Page
: 2/4
2 Syntax
IMPR_CO (
/CO
= concept,
[l_nom_concept]
/CHAINE =
chain,
[K24]
POSITION
=/ipos, [I]
/1, [DEFAUT]
ATTRIBUT
=/“NON”
,
[DEFAUT]
/“OUI”
,
CONTENU
=
/“OUI”
,
[DEFAUT]
/“NON”
,
BASE
=
/“G”
,
[DEFAUT]
/bases,
[K1]
NIVEAU
=/2
,
[DEFAUT]
/1,
/0,
FICHIER
=
/“RESULT”, [DEFECT]
/nomfi
,
[K8]
UNITE
=/8
,
[DEFAUT]
/numfi,
)
Handbook of Utilization
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. Key PELLET
:
U4.91.11-H Page
: 3/4
3 Operands
3.1 Operand
CO
/CO
=
List names of concepts “user” to print.
3.2 Operands
CHAINS/POSITION
/CHAINE
The user can give a text (between “quotes”) length lower than 24 characters:
command will then print all the objects having in their name the character string:
chain in position ipos (see key word POSITION).
Examples:
1) CHAINS = “TOTO1234”, POSITION = 1
to CO = TOTO1234 is equivalent
2) CHAINE = “.DESC”
, POSITION = 20,
allows to print all the objects whose name ends in “.DESC”.
POSITION = ipos,
This entirety defines the position of the beginning of the chain to be sought in the name of the objects
existing.
3.3 Operand
ATTRIBUT
ATTRIBUT
=
One can choose to print (or not) the attributes of selected objects JEVEUX.
3.4 Operand
CONTENU
CONTENU
=
One can choose to print (or not) the contents of the selected objects.
3.5 Operand
BASE
BASE = bases
One will not print that objects JEVEUX found on the basis bases. If one wants to obtain the objects
finding on the whole of the bases (“G”, “V”, “It), one will use BASE = ''(“white” character).
Handbook of Utilization
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
Code_Aster ®
Version
7.4
Titrate:
Procedure IMPR_CO
Date:
03/01/05
Author (S):
J.P. LEFEBVRE, J. Key PELLET
:
U4.91.11-H Page
: 4/4
3.6 Operand
NIVEAU
NIVEAU
=
0: only the names of the objects are printed,
1: one prints only the first 5 objects of each collection of objects JEVEUX,
2: all is printed.
3.7 Operand
UNITE
UNITE
=
Logical number of unit associated the file on which must be printed the selected objects
(this name must be a name already defined by commands DEBUT, POURSUITE or
DEFI_FICHIER).
By defect, the impression is carried out on the logical unit 8 which is associated the file
“RESULTAT”.
4 Examples
Example 1
IMPR_CO
(CO = (my, Mo, ch1))
Impression of the concepts: my, Mo, ch1. The attributes of the objects will not be written.
Example 2
IMPR_CO
(CHAINS = “&”, POSITION = 1, LEVEL = 0
, = “V BASES”,
FICHIER
=
“MESSAGE”
,)
Impression of the names of the objects of the volatile base starting with “&”.
Handbook of Utilization
U4.9- booklet: Impression of the results and tests
HT-66/05/004/A
Outline document