Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro for axis systems coincidence

Status
Not open for further replies.

VojtaR

Automotive
Apr 2, 2020
20
0
0
CZ
Hello guys,

I would like to know, if anyone of you have an idea how to write a macro which will do following.

I have Product with many parts and one part is (lets call it master) used for positioning all the parts (containing many axis systems).
Each part have only one published axis system and this master has also published all its axis systems.
Macro should do following.
1) user clicks macro button
2) Macro will ask to select part (automaticaly select coincidence constraint and published axis system from selected part)
3) User will select axis system in master file

Part is constraint. Done.
Alternative could be, that after slecting part macro will compare part's published axis system name with published axis system names in Master and done.

Thank you in advance.
 
Replies continue below

Recommended for you

Unless you start writing your code, I doubt whether anyone here will provide you with a working code...
You will be able to find all the building blocks for the endeavor if you search the forum, or simply google for the info...

regards,
LWolf
 
Status
Not open for further replies.
Back
Top