Good morning everyone,
i'm a young engineer with very few knowledge about the macro language in Catia.
I'm looking for a macro to do this:
in the active file i have on the screen
i'd like to start the macro
select one entity (a solid cilynder, or a hole, or a cilyndrical surface)
then create its axis
select a second entity (a solid cilynder, or a hole, or a cilyndrical surface)
then create it's axis
use the command distance (between the two axis created above) to create the two points long the distance line (if the 2 axis don't have points in common, or just the first point if the two axis have a common point) and also keep the distance measure just on the screen.
Repeat it from the beginning to select two other entities and create new points.
Does anybody have any idea to create it?
Thanks a lot
Matteo
i'm a young engineer with very few knowledge about the macro language in Catia.
I'm looking for a macro to do this:
in the active file i have on the screen
i'd like to start the macro
select one entity (a solid cilynder, or a hole, or a cilyndrical surface)
then create its axis
select a second entity (a solid cilynder, or a hole, or a cilyndrical surface)
then create it's axis
use the command distance (between the two axis created above) to create the two points long the distance line (if the 2 axis don't have points in common, or just the first point if the two axis have a common point) and also keep the distance measure just on the screen.
Repeat it from the beginning to select two other entities and create new points.
Does anybody have any idea to create it?
Thanks a lot
Matteo