How to redefine many 2D sketch points

How to redefine many 2D sketch points

danijel.radenkovic
Collaborator Collaborator
852 Views
4 Replies
Message 1 of 5

How to redefine many 2D sketch points

danijel.radenkovic
Collaborator
Collaborator

Hello to all,

I am wondering if someone can give me advice how to solve this:

1. I have created spline (inside 2D sketch) through points using "Import points" feature (there are exactly 500 points defined by x,y coordinates which are placed in a Excel worksheet)

2. Spline has been used for the further modeling process (many other features depend on spline)

3. Now, I want to replace/redefine old 500 points with some new 500 points (which are also defined by x,y coordinates)

4. Is it possible somehow to make replacement but to keep dependency, without loosing references and without breaking all further features which are dependent on spline?

I was thinking to create a "Work points" outside of the sketch. Then create new sketch, project them to create 2D sketch points and create spline through the 2D sketch points. So if I try to redefine coordinates of the "Work points", projected 2D points will be immediately updated and spline will be updated also.

Do you have some other idea?

spline created using import points feature.png

Any help is very appreciated.

 

Regards

Danijel

Inventor 2018/Windows 10 x64
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
0 Likes
Accepted solutions (1)
853 Views
4 Replies
Replies (4)
Message 2 of 5

frederic.vandenplas
Collaborator
Collaborator

This is a great tool

 

https://apps.autodesk.com/INVNTOR/en/Detail/Index?id=2747279470883390907&appLang=en&os=Win32_64

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
Message 3 of 5

danijel.radenkovic
Collaborator
Collaborator

Hello Frederic,

This add-in is very interesting. It replaces old set of points with a new set of points. But, after updating it looses references for the next features in the modeling tree. That is not good in my case.

 

Here the attached file with two Excel files (old set of points and new set of points), so everyone can try. I believe problem causes deleting all old points and creating new ones.

 

Regards

Danijel

 

Inventor 2018/Windows 10 x64
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
0 Likes
Message 4 of 5

frederic.vandenplas
Collaborator
Collaborator
Accepted solution

Hi @danijel.radenkovic ,

 

Indeed this is not working as expected, it just recreates the spline when a value is altered, even if you use the same excel file.

 

Originally, there was a labs tool available form Autodesk itself, and i guess coolorange based them on this one (just guessing)

 

You can still download the vba here (only the bottom link download directly) and you need some vba skills ofcourse 🙂

 

https://knowledge.autodesk.com/support/inventor-products/troubleshooting/caas/sfdcarticles/sfdcartic...

 

If you think this answer fullfilled your needs, improved your knowledge or leads to a solution,
please feel free to "kudos"
Message 5 of 5

danijel.radenkovic
Collaborator
Collaborator

Hi Frederic,

This is awesome! Thank you very much!

I have tested it and it works perfect. Very simple to figure out.

 

Regards

Danijel

Inventor 2018/Windows 10 x64
If this information was helpful, please consider marking it as an Accepted Solution by using the Accept as Solution. Kudos are also gladly accepted.
0 Likes