Flange Macro, MACR_CABRI_MAIL
- Marty
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
15 years 9 months ago #3277
by Marty
Flange Macro, MACR_CABRI_MAIL was created by Marty
Hello all,
I am just starting to learn to use Aster. Thanks very much to all the contributors here for the tutorials and in creating the live DVD.
I would like to use the flange creation and solving macros. However I notice that they are not supported in Code_Aster 9.4. For instance, if you start EFICAS and select v8.8 of Aster you will find MACR_CABRI_MAIL and MACR_CABRI_CALC, but not if you select v9.4. So I selected v8.8 and compiled a test comm file as per the documentation I found for the macros at code_aster.org (french only).
I ran the comm file from ASTK, and my .mess file then reported the following -
! erreur de syntaxe, Erreur de nom: name 'MACR_CABRI_MAIL' is not defined ligne 4 !
I did try a little hacking; I found the MACRO_CABRI files under the folder opt\aster\STA9.4\bibpyt\Intranet, and pasted them (with SUDO rights) into the folder \bibpyt\Macro, where the other macros are stored. But this had no effect.
Would anyone happen to know how I can use these macros ?
I am just starting to learn to use Aster. Thanks very much to all the contributors here for the tutorials and in creating the live DVD.
I would like to use the flange creation and solving macros. However I notice that they are not supported in Code_Aster 9.4. For instance, if you start EFICAS and select v8.8 of Aster you will find MACR_CABRI_MAIL and MACR_CABRI_CALC, but not if you select v9.4. So I selected v8.8 and compiled a test comm file as per the documentation I found for the macros at code_aster.org (french only).
I ran the comm file from ASTK, and my .mess file then reported the following -
! erreur de syntaxe, Erreur de nom: name 'MACR_CABRI_MAIL' is not defined ligne 4 !
I did try a little hacking; I found the MACRO_CABRI files under the folder opt\aster\STA9.4\bibpyt\Intranet, and pasted them (with SUDO rights) into the folder \bibpyt\Macro, where the other macros are stored. But this had no effect.
Would anyone happen to know how I can use these macros ?
- Marty
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
15 years 9 months ago #3282
by Marty
Replied by Marty on topic Re:Flange Macro, MACR_CABRI_MAIL
Ok, so I worked out how to go a step further, by including the following line at the top of my comm file -
'from Intranet.macr_cabri_mail_cata import MACR_CABRI_MAIL'
The macro now starts but the mess file instead reports this error -
! IOError: [Errno 2] No such file or directory: '/opt/aster/STA9.4/datg/macr_cabri_mail_proc.datg'
Looks like I'm being a bit hopeful expecting it to work. I'll see whether the code aster forum can help though..
'from Intranet.macr_cabri_mail_cata import MACR_CABRI_MAIL'
The macro now starts but the mess file instead reports this error -
! IOError: [Errno 2] No such file or directory: '/opt/aster/STA9.4/datg/macr_cabri_mail_proc.datg'
Looks like I'm being a bit hopeful expecting it to work. I'll see whether the code aster forum can help though..
Moderators: catux
Time to create page: 0.112 seconds