cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dimensioning Parameter Dependency

Dimensioning Parameter Dependency

Hello

When creating sheet metal parts, I often make parameters dependent on other parameters.
This is very easy to do, since the relevant parameters (d0/d1, etc.) are displayed when creating the dimensions.
See Bemassung.pdf

However, when creating a flange, for example, the dialog box displays “Abstand = 25 mm” instead of the parameter.
Only after the flange has been created and “Edit Element” is selected does the corresponding parameter (d7=25 mm) appear.
This makes it more cumbersome when, for example, I want to set a dependent dimension for another flange.
See Lasche.pdf

The same applies to parameters in assemblies.
When I create a dependency, the dialog box displays “Versatz = 10 mm.” Only after setting the dependency and reopening the dialog box is the corresponding parameter value (d40 = 10 mm) displayed.
See Abhängigkeit.pdf

Best regards Urs Meier

4 Comments
WCrihfield
Mentor

Hi @urs_meier.  I have a couple tips for you about some built-in functionality that you will probably like, related to your request here.  When you have any type of model document open (regular part, sheet metal part, regular assembly, weldment assembly), go to the Tools tab in Inventor's ribbon, then click on the Document Settings tool in the Options panel.  Activate the Units tab within that Document Settings dialog.  Then, within the 'Modeling Dimension Display' area, choose the radio button option named 'Display As Expression'.  That setting will affect dimensional constraints within sketches.  You can also try setting the option with the same name down within the 'Default Parameter Input Display' area, which will affect those 'value editor' textboxes within feature dialogs the same way.  After that you can just click Apply or OK on that dialog to finish and exit out of it.  Now, while working within that specific document, and you make a planar sketch of something, the moment you 'place' (after geometry to constrain selections) a dimensional constraint, it will immediately show the name of the ModelParameter it is associated with, as well as its current value, as it waits for you to edit the value.  And it will continue to show both the ModelParameter name with its numerical value while the dimension is not being edited, for continuous visual aid.  The second setting doesn't work quite as good as the first, due to the nature of how those dialogs work, so when you first extrude a profile from a sketch, and the extrude properties dialog shows the first time, it still looks like it did before, but when you open it a second time, the value editor fields will now contain those expressions which include both the ModelParameter name and the value.  Now for the second tip...pretty much any time we encounter one of thsoe 'value editor' fields, either for a dimension constraint, feature properties dialog, or shown feature dimensions after the fact, we can actually enter an expression that looks just like that (ModelParameter.Name = Numeric Value You Want It To Have).  This lets us assign a name to the ModelParameter that is being automatically created, or rename the already existing ModelParameter associated with that value, directly in the value editor for assigning/editing its value.  Doing things this way can allow is to completely avoid using the Parameters dialog for longer periods of time during the design phase.  In fact, when I am designing something that I know I will need to create multiple variations of, I will often open its Parameters dialog first and create several UserParameters with logical/meaningful names, before creating any of the geometry, then start designing the geometry afterwards.  Then many of the times I encounter a value editor box, I will use the little '>' arrow within the right end of the value editor, then select 'List Parameters', then select one of the pre-existing UserParameters I created before starting, to use within the expression of the new ModelParameter being created, then assign the name of the ModelParameter at the same time.  Essentially killing two birds with one stone, so to speak.

WCrihfield_0-1792756351317.png  

WCrihfield_1-1792756393907.png  

WCrihfield_2-1792756428953.png

One aspect of 'dimensioning parameter dependency' that I think I would like to change is when one dimension is using the name of another dimension's ModelParameter within its expression, then at some point later we delete the source dimension, either on purpose, or by mistake.   There is no warning about that scenario.  The ModelParameter that was associated with that other dimension does not get deleted with the dimension (not sure if it was always that way, or when that behavior may have changed), so the dependent dimension's expression still contains the name of the other ModelParameter, but if we never renamed that source (deleted dimension's) ModelParameter, then we have no idea what it was associated with anymore, and its value is now 'static', which could lead to design flaws downstream.  That can be a tough scenario to troubleshoot.  This is another reason why I usually like to have stable UserParameters in place right from the start, which do not potentially disappear when modeling sketches or features get deleted.

urs_meier
Enthusiast

Hello @WCrihfield

 

Thank you very much for your feedback.

I’m already familiar with this setting in the Document Settings.

However, I can’t change it there because the other designers in the company who work with the same templates are used to these settings, and changing them could unfortunately lead to confusion.

I’ve been working with Inventor for more than 25 years and can certainly adapt to different work habits, but unfortunately, other designers in the company aren’t quite as open to change.

But thank you very much for your support.

 

Best regards, Urs

EdvinTailwind
Collaborator

You can name a parameter on its first creation and then refer to it whenever you need:

 

Example: "MyParam" does not exist before I do this extrusion, but will be created automatically.

EdvinTailwind_0-1793026010569.png

 

urs_meier
Enthusiast

Hy @EdvinTailwind
Yes, i know this named parameters, thank you

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea