Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-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
Joined
Apr 2, 2020
Messages
20
Location
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.
 
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.

Part and Inventory Search

Sponsor

Back
Top