Cancel
Showing results for
Did you mean:

Variables

Retired

Variables in Solid Edge are intuitively easy to use. As a former SolidWorks guy, Solid Edge Variables simplify things immensely (link values, equations, global variables, variables, etc in SW) and at the same time give you more power for controlling dimensions. Even in a synchronous part. Let's have a look at the Variable Table. You can find the Variable Table on the Tools tab, in the Variables group.

The first thing I notice about the table is that it allows you to control the Lock/Unlock condition of the dimensions right off the bat. It lists all the dimensions in the part, and their Lock/Unlock state, and lets you change the names, state and even the dimension value right from the Variable table.

The Rule column is read only, and tells you what is driving the dimension. It could be a Formula such as = Length + 4 or a Limit such as (1;8), which would limit the value to between 1 and 8. It's very straight forward and makes named dimensions very easy to work with.

Beyond the Variables Table, the Pathfinder also gets involved as well as the PMI display on the parts. First, notice that this part is Synchronous, and it is using variables. That means that Synchronous parts are truly parametric for those of you who had any remaining doubt.

Notice that the Dimension area of the Pathfinder gives names to the dimensions. These are the variable names. You can toggle the display of dimension values or names by right clicking on a dimension in the Pathfinder, and making the selection from the list.

Also notice that the colors of the dimensions tell you the function of the dimension.

• Red = locked (can only be changed directly by the user)
• Blue = unlocked (can be changed by the system or by the user)
• Purple = driven by a Formula

Solid Edge will even tell you if you try to set up conflicting equations. Lets say for example that you have two dimensions on a part, Height and Diameter. You write two formulas as Height = Diameter * 2 and Diameter = Height / 2. While the formulas can be satisfied simultaneously, they are overconstrained and circular (A drives B and B drives A) because there is not a clear driving term. Solid Edge identifies this situation and will not allow you to actually create the second equation. SE gives you the error message "Variable Depth is driven and connot be used within related geometry to evaluate driving variable Diameter." That's reasonably easy to understand, I think.

Solid Edge also will warn you if you try to use an unlocked dimension to drive a formula. This prevents you from having too many sources driving the dimensions of your parts.

Overall, the Variable Table and the Pathfinder display are areas that I tink are very nicely developed. The functionality is practical and easy to figure out. One thing that might be added would be if you could click on dimensions to add them to the Forumula box, or maybe there could be a calculator keypad.

Solution Partner Phenom

Matt,

One of the truly useful aspects of Solid Edge Variables is Peer Variables in assemblies. The ability to switch from the top-level assembly Variable Table to the part Variable Table whilst copying and pasting makes parameterising and assembly a breeze.

I hope that for the benefit of those who have not used this gem a future blog article will cover a typical use case for Peer Variables.

Keep up the good work

Mark

Gears Esteemed Contributor

Are you volunteering Mark?

Retired

Mark, thanks for that. Peer variables in assemblies. I'll have a look. Sounds powerful. I can't tell you how much I wish that I just knew everything.

Thanks,

Matt

Phenom
"I can't tell you how much I wish that I just knew everything" Well don't hurry up.... we need more articles like this! :-) Matt, I've said this many times before, but reading your posts here is truly a benefit to me, as well as many other so called seasoned old timers. As much as we old timers do many things well with Solid Edge, I at least have rarely wandered too far off the beaten path on a lot of powerful stuff like this. So all your posts exploring Solid Edge in depth, is truly wonderful stuff. And although I've used Variable Tables at times, I know I've never ever used it to it's full potential. So again keep up the good work and for selfish reasons, I NEVER want you to get too good at Solid Edge... I need you to keep showing me stuff I've ignored. Thanks for posting! Bob
Solution Partner Builder

"One thing that might be added would be if you could click on dimensions to add them to the Forumula box"

You can. Just be sure to click on the variable row header, not the variable name/value.

Top Kudoed Posts
Latest Articles
Archives