Parameter Variable Scope

Parameter Variable Scope

Anonymous
Not applicable
814 Views
4 Replies
Message 1 of 5

Parameter Variable Scope

Anonymous
Not applicable

Can designs or components share variables? Or in other words can one design or component reference a variable from another? If so, how is that done.

I'll give you a specific example. Say I create a mortise in one design, and a tenon in another. Can these two designs share variables? I want to make it so that if I change the mortise variables in one design, that will update the tenon variables as well.

 

Thanks. 

0 Likes
815 Views
4 Replies
Replies (4)
Message 2 of 5

TannerReid
Alumni
Alumni

Hi there,

 

Have you looked at the parameters functionality in Fusion?  Under the model menu, at the very end, there's a tool called "Parameters", which brings up a spreadsheet of all of the values you've typed into certain sketches or features.

 

Screen Shot 2015-06-05 at 11.57.16 AM.png

 

You can add named parameters by clicking on the Green +, and typing that name into a field in a sketch or feature.  You can also use the variable name of any of the past values you've typed in.  And changing the value of one of the variables in this chart will in turn update any geometry that references it.  This chart works across any geometry in your Fusion file (different components, sketches, construction planes, etc).

 

As a best practice, if referencing other values, I'd suggest making a variable that you can name yourself first, that way you can easily type it in any time you need to use it or a variation of it.  For example, if the variable is called Thickness, you can always type in Thickness/2, or Thickness+(Thickness/2)^2, etc. 

 

Let me know if this hasn't answered your question - and I'd love to hear what kind of project you're working on!  We're always interested in how people are using these types of tools.  

 

Thanks!

 

Enjoy the day,

Tanner


Tanner Reid

Product Design Engineer

0 Likes
Message 3 of 5

Anonymous
Not applicable

Thanks for your help, but I think you missed the point of my question.

 

Those are parameters within a single "design". I already use these. What I would like to do is reference the variables from one design in another design within the same project.

In the example I gave the mortise and tenon are in different designs. I would like to change the mortise in one design and have it update the tenons in the other "design". So say I create a variable in the mortise design called mortiseWidth and use that same value in the tenon design. For example if I then create a variable called tenonWidth in the other design and set its value to mortiseWidth (from the other design).

0 Likes
Message 4 of 5

Anonymous
Not applicable

The answer to my original question was NO at the time I wrote it, but this weekend's release of Fusion 360 may heve changed all that. I haven't had a chance to to experiment with it yet. 

0 Likes
Message 5 of 5

venkitr
Autodesk
Autodesk

Yes. Currently referecing/using parameters from another design or an inserted design is not supported.

But I guess this is a valid user requirement.

 

 



Rajesh.V

Fusion 360 Developer

Link Name | Link Name | Link Name | Link Name
0 Likes