Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Riddle me this...

Status
Not open for further replies.

Shadowspawn

Aerospace
Sep 23, 2004
259
What's the easiest way to essentially copy/paste a sketch 100 times? Each sketch will be driven by different expressions, but I can edit these as I place the sketch. Each "instance" is to be positioned from the midpoint of a line, I don't want primed expressions (p1=0 -vs- p1'0=0), and I need it simple so this simpleton can do it (*sigh* ...me)

I've played with the copy/paste thingy, but not having much luck (various reasons, mostly due to my never using copy/paste before). Any suggestions will be appreciated, and useful tips will garner a shiny new star! TIA...


Regards,
SS
CAD should pay for itself, shouldn't it?
 
Replies continue below

Recommended for you

To make the Pasteing part easier use a fixed constraint on the original sketch. This will allow you to use relative positioning to place the sketch, rather than sketch dimensions. This make the Pasting part easier. When you place the copied sketch you will need to define the Placement face, Horozontal reference and then the Positioning dialog should display allowing you to place the sketch relative to midpoint you mentioned.

 
I will suggest you to go for creating of an UDF, You need to have minimum of references which define your sketch then you can easily create an UDF using the Wizard and insert the UDF as many times as you wish.You can also explode the UDF and get a sketch feature
 
I have done something very simiar just last week.

I needed to generate a geneic aerfoil shape which could be parametrically altered. I did as follows.

1. created a macro which created a sketch, and inserted 250 smart points (to get expressions without having to constrain the sketch!).

2. ran the macro 20 times to to generate each section.

3. created a spline through the points, and then a surface.

4. Then created a simple programe which would genereate a expressin file (I used VB inside excel)

I then import the new expressions file each time I want a new aerofoil.

It's quick, dirty but works.........

I tried to do it in KF but failed.....Bummer......

hope this helps?


P.........
 
Gents,

Thanks for the suggestions and sorry for the delay in responding. Tis been a bit hectic around here lately... I haven't done anything else on my little project, but will hopefully get to it later this week. Until then, stay tuned...


Regards,
SS
CAD should pay for itself, shouldn't it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor