Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Add a new part to the product with the coordinates of the previous point

Status
Not open for further replies.

hoangthe

Mechanical
May 5, 2021
17
I have points in the prouct as shown below,Is there a macro that adds a new part to the product that takes the origin of those points?
Can anyone give me some suggestions, that would be great.
2021-07-05_175052_fxn0us.png
 
Replies continue below

Recommended for you

Do you need a macro?

If you are placing the same new part repeatedly, swap all your points for axes and then using a 3D pattern. Position and orientation will be as determined by the axes.
 
jasoncwells I need a macro to be able to do that. Can you be more specific?
thank you very much!
 
Hello,
you can make Axis on those points, and then insert new parts and connect them to those axes.

So scenario will be:
1. Create a new part with macro
2. Use coincidence constraint between that created axis and Absolute Axis in the part. (macro)
(you need to have a check option for axis creation for the part)

First, you need multiple selection, so users can select all of those axes, and it will also control your for loop for new parts.

[link catiavbmacro.com]catiavbmacro.com[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor