Where do parameters go when you copy a sketch to a new design?

Where do parameters go when you copy a sketch to a new design?

juliangall
Enthusiast Enthusiast
2,036 Views
15 Replies
Message 1 of 16

Where do parameters go when you copy a sketch to a new design?

juliangall
Enthusiast
Enthusiast

I have a parameterised sketch in one design. I have selected the the sketch elements, copied them and pasted them into a new sketch in a new design (following this thread https://forums.autodesk.com/t5/fusion-360-design-validate/copy-sketch-between-documents/td-p/5954887).

 

The sketch dimensions in the new version still refer to the parameters, but the parameters are not listed in the Change Parameters dialog.

 

How can I modify these parameters in my new design? N.B. I don't need them linked to the original design, just to be able to modify them in the new design.

 

Thanks,

 

Julian

0 Likes
2,037 Views
15 Replies
Replies (15)
Message 2 of 16

TrippyLighting
Consultant
Consultant

You'll find them listed under Model parameters a little further down in the parameter dialogue.

However, I am wondering if there is also a bug at play.

 

In the originating design I created a user parameter:

 

Screen Shot 2020-04-22 at 7.11.39 AM.png

 

The dimension referencing it in the sketch shows the little "fx" symbol to indicate that this is driven from a user parameter:

 

Screen Shot 2020-04-22 at 7.09.57 AM.png

 

When you copy the sketch objects into a new sketch into a new design the parameters are in the Model Parameteers:

 

Screen Shot 2020-04-22 at 7.15.28 AM.png

 

And the symbols in the sketch are gone because it is not considered a user-defined parameter:

 

Screen Shot 2020-04-22 at 7.16.58 AM.png

 

Also, note  that the sketch now is not constrained because the copied elements don;t automatically constrain to the sketch origin. Easy to fix, but also easy to forget 😉

 


EESignature

0 Likes
Message 3 of 16

juliangall
Enthusiast
Enthusiast

Thanks, Peter. I have similar "Model Parameters" but these refer to the named User Parameters that were present in my first sketch. For example, I have Model Parameter d1 and the expression for this is:

 

length / 2

 

'length' is a User Parameter from my source sketch. If I try to edit d1, it shows as red, which means, I guess, that Fusion 360 cannot resolve the parameter 'length'.

 

If I enter a new User Parameter 'length', d1 is then ok.

 

What appears to happen is that the sketch dimensions are copied across with their expressions, but any attempt to recalculate them will throw an error. The only answer is to enter all the User Parameters again in the new model.

 

Or here's another workaround. Make a copy of your original model. Delete all the bodies and sketches. Clear the timeline. Then, all that remains is the parameters. You can start from there. As you say, once you have pasted in the sketch elements, you need to make the relevant point coincident with the origin to make it fully constrained.

 

Julian 

0 Likes
Message 4 of 16

chrisplyler
Mentor
Mentor

 

User Parameters are only referenced by you in a sketch. They aren't stored in the sketch. You can copy and paste the sketch into a new design file, but that doesn't mean the User Parameters come with it. You'll have to set them up as desired in the new file.

 

 

0 Likes
Message 5 of 16

TrippyLighting
Consultant
Consultant

@chrisplyler If you edit the copy/pasted sketch, you'll find that the parameter is still referenced in the sketch dimension. It just isn't a user-defined parameter anymore (as its a model parameter now) and as such is does not get the "fx" symbol in the sketch.


EESignature

0 Likes
Message 6 of 16

chrisplyler
Mentor
Mentor

 

Yup.

 

0 Likes
Message 7 of 16

davebYYPCU
Consultant
Consultant

Try the Dervive tools, it will do Parameters, with or without the sketch, or 

insert to current Design, will depend on source sketch structure though.

 

Might help....

0 Likes
Message 8 of 16

jeff_strater
Community Manager
Community Manager

OK, I am gonna have to dig into this one a bit more.  The experience I see is:  On Paste, the parameter references are there in the copied dimension, and compute OK, but the parameters are NOT in the design, so I don't quite know how that is happening.  Perhaps there is some hidden parameter being dragged along for the ride.  But, again, I need to dig a bit deeper.  More later.

 


Jeff Strater
Engineering Director
0 Likes
Message 9 of 16

juliangall
Enthusiast
Enthusiast

I look forward to hearing what you find out. Thanks.

 

Julian

0 Likes
Message 10 of 16

etfrench
Mentor
Mentor

If you have the sketch in a component, then copying the component to a new file will bring the user parameters to the new file.

ETFrench

EESignature

0 Likes
Message 11 of 16

jeff_strater
Community Manager
Community Manager

turns out this is a known problem.  It was reported a while ago:  https://forums.autodesk.com/t5/fusion-360-design-validate/bug-coping-sketch-between-documents/m-p/69...

 

Fusion bug FUS-31666 exists for this.  Going to try to push to see if I can get a fix planned for this.

 


Jeff Strater
Engineering Director
0 Likes
Message 12 of 16

chrisplyler
Mentor
Mentor

 

Sending doughnuts to you now Jeff.

 

0 Likes
Message 13 of 16

davebYYPCU
Consultant
Consultant

And what would Chad say?

0 Likes
Message 14 of 16

chrisplyler
Mentor
Mentor

 

Chad will say anything to leave the office early.

 

0 Likes
Message 15 of 16

1johnmurphy
Participant
Participant

Has this been fixed?  I still see the same behavior...

0 Likes
Message 16 of 16

rbackman07
Enthusiast
Enthusiast

Came here to report the same bug.  but Also found a workaround/hidden workflow. once you paste the sketch press ctl-b to compute all.  if you have the same parameter names in your new design it will connect those and update the sketch. but if it the design doesn't have the parameters the sketch parameter at least shows up as a Model parameter