Hello, I am trying to create a VBA macro which automatically create tracks in the DMU Fitting module.
For doing that, I need a shuttle, which represents the part I want to move and a line, which represents the track (path of the part in a dissasembly, for example). Then I select the "Generate Track" command in VBA and the shuttle which I wanna move, so CATIA opens a window in which I have to select the track.
The problem is that I can't select the line from the tree as you can see in the attached picture (it could have been done with the search command), I have to select it clicking directly with the mouse on the line, and I do not know if there is a function that allows me to do that in VBA.
If you need more information please, contact me, it's hard to explain
Thank you in advance
For doing that, I need a shuttle, which represents the part I want to move and a line, which represents the track (path of the part in a dissasembly, for example). Then I select the "Generate Track" command in VBA and the shuttle which I wanna move, so CATIA opens a window in which I have to select the track.
The problem is that I can't select the line from the tree as you can see in the attached picture (it could have been done with the search command), I have to select it clicking directly with the mouse on the line, and I do not know if there is a function that allows me to do that in VBA.
If you need more information please, contact me, it's hard to explain
Thank you in advance