TiagoFigueiredo
Industrial
- May 22, 2013
- 503
I everyone.
I'm trying to create a macro to constrain components to axis system. And for create constraints I need the full path of axis system location. Ex:

To start thinking the structure of macro, I've made a small piece of code. where I select the axis system and returns it's name. Until here really straight foward. But to achive the full path of axis system location, I've no idea of how to do it.
For this selected one, it should return : "COMPONENTS/BUSH 1/LOWER/ Axis System.4"
Any idea of how to do it?
Just recorded a macro of constraint creation:

I'm trying to create a macro to constrain components to axis system. And for create constraints I need the full path of axis system location. Ex:

To start thinking the structure of macro, I've made a small piece of code. where I select the axis system and returns it's name. Until here really straight foward. But to achive the full path of axis system location, I've no idea of how to do it.
For this selected one, it should return : "COMPONENTS/BUSH 1/LOWER/ Axis System.4"
Any idea of how to do it?
Just recorded a macro of constraint creation:
