
Problem with Variant Option Selector scope seen when exporting active variant
Hi,
Found a problem with variant option selector while testing how it actually works.
If you use function group output as input value for variant option selector and then set the selectors scope as public you can run into a problem. If you reference that now public selector in another function group you have a situation where exported project cannot reference back to the function group output. This happens most likely because the variant option selector is removed during export and there is no way that function group output can be referenced outside its "parent" function group.
As a workaround I have created "dummy" variable right after the selector that reads the selectors value and then set that "dummy" as the public variable which I can reference elsewhere.
In the future it would be nice if this type of "dummy" variable wouldn't be needed, maybe during export IQANdesign could check if variant option selector's input is from function group output and the selector is set as public and if those criterias are met it would automatically create public variable in its place.
Used version 7.04.8
Customer support service by UserEcho
Good point.
I changed the title slightly to make it clear that the VOS scope is part of the problem.
One IQANdesign "solution" for seeing the problem before exporting the variant might be to only have private and FGO as possible scope on a VOS.