Can't reference Favorite Parameter

RogerInHawaii
Collaborator Collaborator
278 Views
3 Replies
Message 1 of 4

Can't reference Favorite Parameter

RogerInHawaii
Collaborator
Collaborator

I've defined a bunch of User Parameters. Some of them are driven parameters. Some of the driven parameters I've defined as Favorites.

I go to the Parameters dialog and try to make some edits so that some of the values reference some of those Favorite parameters. The first one (in green) references just fine. But a subsequent one fails, with an indication that it's an "Invalid string". It happens whether I fully type in the name of the parameter or type part of it (e.g. "Height" and then select from the displayed list of options.

Why did it allow the first one but not the subsequent one? In fact it fails for ANY of the subsequent "Height" parameters in the list.

cannot reference.png

 

0 Likes
279 Views
3 Replies
Replies (3)
Message 2 of 4

jeff_strater
Community Manager
Community Manager

can't really say for sure without the design itself, but, you can only reference driven dimensions within the sketch in which they are defined.  So, my first guess is:  the usages that fail, somehow, fail for that reason.

 


Jeff Strater
Engineering Director
0 Likes
Message 3 of 4

RogerInHawaii
Collaborator
Collaborator

@jeff_strater That does indeed seem to be the problem.

I would hope that when fusion shows a Parameter in red as you're using it in an expression, like for some dimension in a sketch, it would provide some way of explaining why it's in red. Maybe a red question mark could appear near it that you could click on that would then pop up an explanation of what's wrong. You wouldn't want that red question mark popping up simply because you haven't finished typing in the expression, but when Fusion recognizes that what you've typed is indeed a named Parameter BUT it's not accessible to the current sketch that you're working on, there ought to be some way of getting an explanation of that.

I spent a bunch of time trying various approaches to make it recognize what I was typing in, something that was most definitely a defined Parameter but always appeared red, none of which worked, before I finally relented and posted the issue in the forum.

I'm also curious as to why it only allows reference to driven dimensions that reside within the same sketch. That's just not intuitively obvious to me. It's in the Parameter list. It even pops up as you're typing an expression for the current sketch, so . . . why the restriction? It just seems  . . . odd.

0 Likes
Message 4 of 4

jeff_strater
Community Manager
Community Manager

"I would hope that when fusion shows a Parameter in red as you're using it in an expression, like for some dimension in a sketch, it would provide some way of explaining why it's in red. Maybe a red question mark could appear near it that you could click on that would then pop up an explanation of what's wrong. "

 

Yes, that would be great.  No one would argue with that.  It's just that it is somewhere on a list of 10,000 items that we haven't gotten around to yet, that also would be great.

 

"I'm also curious as to why it only allows reference to driven dimensions that reside within the same sketch."

 

For all the gory details and outrage, see:  ability-to-reference-driven-dimensions .  The short answer is:  It was about 10x easier to keep the scope to one sketch - it is all handled by the sketch solver.  In order to fully support this, it would require large changes to the compute machinery.  So, it came down to a question of:  support intra-sketch references now, or wait several more years for full support, that would come at the expense of many of those 10,000 items.  I think intra-sketch references probably covers 80-90% of the use cases, so it seemed worthwhile to implement that first.


Jeff Strater
Engineering Director
0 Likes