Macro - drawing simple objects

Jan 07, 2006 2 Replies

Having an equation:



radius = exp(a*angle)



I willing to draw circles (center is on curve) and define planes for this circles which for a given angles. Where can I find some basic drawing routines using VB scripts for that purpose?



Jack,


Probably the easiest approach to get you started is to record a macro by creating an offset plane and then sketching a spline on it. That will give you the routines to create a plane from another and create a spline based on points. It isn't that hard to then create a spline in a FOR NEXT loop.

Made it. There's nothing in swp file saved by Solidworks that can be used so far :(

Jack,

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required