deleting a referenced parameter leaves broken references without warning

deleting a referenced parameter leaves broken references without warning

maker9876
Collaborator Collaborator
534 Views
3 Replies
Message 1 of 4

deleting a referenced parameter leaves broken references without warning

maker9876
Collaborator
Collaborator

In a sketch, if you delete a referenced parameter (eg line = 90mm long) then references to that parameters remain as they were (fx:90mm) even though a popup warning was generated.

 

This seems wrong. Should't those broken references turn yellow? Or perhaps just drop the "fx:" and become simply fixed "90mm" to follow the above example?

0 Likes
Accepted solutions (1)
535 Views
3 Replies
Replies (3)
Message 2 of 4

jeff_strater
Community Manager
Community Manager

@maker9876 - no, this is as expected.  Though you have deleted the dimension, the parameter is still preserved in the system.  It just becomes a standalone model parameter that is no longer tied to sketch dimension.  This preserves the model design intent.  I think you would not want the behavior you describe, to be honest - it would create lots of design errors

 

Before:

Screen Shot 2019-09-27 at 8.42.48 AM.png

 

after:

Screen Shot 2019-09-27 at 8.43.06 AM.png


Jeff Strater
Engineering Director
Message 3 of 4

maker9876
Collaborator
Collaborator

That makes perfect sense.

 

The scenario I encountered was simpler: the reference was within the design itself and didn't involve parameter variables. 

 

As below in the first square one side is set to 10mm within the sketch, the next referenced to it directly (by clicking on the 10mm).

 

When, in the second image, the 10mm is deleted the fx:10mm remains. That I thought was confusing because it's not referenced to anything. But was more worried that if there were several such mentions scattered around the sketch would soon lose track of what was referenced and what was not and wouldn't know where to start correcting. Then would make assumptions that things had updated when they hadn't. 

 

 

 

usecase.png

0 Likes
Message 4 of 4

jeff_strater
Community Manager
Community Manager
Accepted solution

"The scenario I encountered was simpler: the reference was within the design itself and didn't involve parameter variables."

 

What you describe is exactly the same scenario as I had illustrated above.  When you created the second dimension and "referenced to it directly (by clicking on the 10mm).", you were, in fact, setting up this relationship to the parameter of the first dimension.  The example I created was the same, other than I had also added a "*1.5" so that the second dimension was not the exact same value as the first.

 


Jeff Strater
Engineering Director