Page 1 of 1

Convert Spline to Arcs Macro

Posted: Mon Apr 12, 2021 10:27 am
by step2design
Hi all,

I've given the forum a good seraching and can't find what I'm looking for so am hoping that someone can help.

I'm after a Macro that was attached to the Solidworks forum thread ->

https://forum.solidworks.com/thread/221366

It was either called aaaReArcs.swp or aaReArcs.swp

Or maybe Spline to Arc.swp

I'm not entirely sure, but it was an absolute life saver and due to a computer crash I've lost my local copy and in desperate need of another.

Does anyone have it in their Macro library?

Thanks in advance,

Sam

Re: Convert Spline to Arcs Macro

Posted: Mon Apr 12, 2021 1:45 pm
by JPARKER
Here is the one I have.

Re: Convert Spline to Arcs Macro

Posted: Mon Apr 12, 2021 4:50 pm
by step2design
This seems to have done the trick.

Thanks - you are a lifesaver!

Re: Convert Spline to Arcs Macro

Posted: Wed Feb 22, 2023 3:09 am
by Farouk
HI @JPARKER
I run SolidWorks 2023
I downloaded the macro but I have a mistake that says I can’t execute it.
can you help me ?

Thank you

Re: Convert Spline to Arcs Macro

Posted: Wed Feb 22, 2023 8:13 pm
by Arthur NY
Maybe some context might help us to better understand what you're looking to do. As that could net, depending on the Spline, anywhere from 3 - 3000 curves...or more. I'm exaggerating but you get the point. If it's for simply adding measurements I'd ask why. That there's functionality that actually works better in the inverse meaning drawing the arcs out then tracing one Spline over it. These are just shots in the dark so any additional info would be helpful.

Re: Convert Spline to Arcs Macro

Posted: Thu Feb 23, 2023 3:42 am
by Farouk
hi @Arthur NY

I tried to illustrate the steps of my work on this photo to better understand example of 3D scenery ( same for a 2D decoration as sent previously)
The mechanical-welded cladding is the selection of arches and lines of sketches,
The choice of the profile that will be bent to the desired shape to achieve the decoration is chosen according to several criteria
Sometimes I make sketches for each profile that will be used and other times I make sketches that may have several different profiles.

I have to select segment by segment (arc or line) when I am on the function "mechanical-welded element"

https://zupimages.net/viewer.php?id=23/08/q68y.png

Re: Convert Spline to Arcs Macro

Posted: Thu Feb 23, 2023 8:04 am
by AlexLachance
Farouk wrote: Wed Feb 22, 2023 3:09 am HI @JPARKER
I run SolidWorks 2023
I downloaded the macro but I have a mistake that says I can’t execute it.
can you help me ?

Thank you
Go edit your macro

Go in Tools>Edit>Reference

Check the boses for these but in 2023
image.png

Re: Convert Spline to Arcs Macro

Posted: Fri Feb 24, 2023 3:31 am
by Farouk
Hi @AlexLachance
I can't open or edit the macro
Here App done by @ m.blt on this forum big thanks to him

https://forum.lynkoa.com/t/macro-api-ch ... /108806/17

Re: Convert Spline to Arcs Macro

Posted: Fri Feb 24, 2023 7:35 am
by AlexLachance
Farouk wrote: Fri Feb 24, 2023 3:31 am Hi @AlexLachance
I can't open or edit the macro
Here App done by @ m.blt on this forum big thanks to him

https://forum.lynkoa.com/t/macro-api-ch ... /108806/17
I do not have 2023, I cannot do it for you.