CATIA automation - macro for renaming
CATIA automation - macro for renaming
(OP)
Hi there,
I'm trying to manage to uderstand how catvba works with the follinwg example.
I'm trying to do following action with a macro
Actually i'm stuck at the very first beginning :
how to get revison number from part properties ?
some help will be really appreciated
I'm trying to manage to uderstand how catvba works with the follinwg example.
I'm trying to do following action with a macro
- open all catproduct in a folder
- for each product :
- get revision number of each catpart
- append revision number to partnumber and instance number
- save as in output folder and rename all catpart and catproduct with "partname_revision.CATPart"
Actually i'm stuck at the very first beginning :
how to get revison number from part properties ?
some help will be really appreciated





RE: CATIA automation - macro for renaming
one simple example..
CODE -->
Just iterate on all parts..
You can use CATIA Send To Service
______
Alex ,
RE: CATIA automation - macro for renaming
RE: CATIA automation - macro for renaming
I'm trying to manage to uderstand how catvba works with the follinwg example.
I'm trying to do following action with a macro
learn VBA first, there are many books for Office VBA. that way you will understand what are objects, core of the language and get some experience in reading the developer documentation and programming macros.
then search for V5Automation.chm in the catia install dir and read it first (not all of course, at least documentation about some relevant tasks to you, but before trying to program anything).
in about 3 months you will be well on the way like this.
on the other hand, if you only need something fast (auto populate as mentioned for example), just look for it in this forum, it's one of those tasks, that have been discussed 432898 times already.