protectionolz.blogg.se

Solidworks flow simulation greyed out
Solidworks flow simulation greyed out







solidworks flow simulation greyed out solidworks flow simulation greyed out

I then edited the Value field for this to read =IF(DWVariableCheckAllTheBoxes,TRUE,FALSE).

solidworks flow simulation greyed out

In the Conditions Editor window, I was able to drag and drop the Check Value condition from the Toolbox window into the Conditions window. Once in the Edit State dialogue window, I right-clicked on the Transition and chose Edit Conditions from the resulting menu. In my above example, when I say IF(BoxesReturn,TRUE,FALSE) it’s short for IF(BoxesReturn=TRUE,TRUE,FALSE)Īs far as where I used that variable, I went to the Specification Flow and found the State in question. Because the blank means the field has not been completed, it is not what we want. Note the reversal of the TRUE/FALSE on these. Other examples would be IF(ComboBoxReturn=””,FALSE,TRUE) or IF(TextBoxReturn=””,FALSE,TRUE). I could shorten that to exclude FALSE so many times, but I like seeing what I’m getting and it makes it easier to show.

solidworks flow simulation greyed out

=IF(CheckReturn,IF(AllReturn,IF(TheReturn,IF(BoxesReturn,TRUE,FALSE),FALSE),FALSE),FALSE) Since I didn’t show it in the video, the variable’s rule is as follows: I could also have put my massive nested IF statement in that place instead of in the variable. I’ve bypassed this using a variable (called “CheckAllTheBoxes”) but this is simply to make troubleshooting and editing the project easier. If the rule solves as FALSE, then the button is greyed out. Let’s see how it’s done:Īs you can see, I can setup a rule for the availability of the button. However, by default, the Proceed button is always available. My design intent is that the user must check all the boxes in order to proceed. In this example, I’ve created a form with 4 checkboxes. also easy! I bet you thought I was going to say it was a different story, didn’t you? Well, you can prevent them from proceeding by making the transition button greyed out. Making forms in DriveWorks is nice and easy, but getting the user to fill them out completely is….









Solidworks flow simulation greyed out