new custom feature: Boolean Variable

jelte_steur_info
jelte_steur_info Member Posts: 683 PRO
edited December 2025 in FeatureScript

Happy winter solstice to everyone!

I was grouping some dynamic suppressions in a configurable document and creating a regular variable, setting it to 'any' and creating an equation, (or typing "true" manually.)
This bothered me, I figured this should be easier if I'm going to do this a lot.
so I created a dedicated:
Boolean Variable

Boolean Variable FS.jpg
Tagged:

Comments

  • Derek_Van_Allen_BD
    Derek_Van_Allen_BD Member Posts: 1,162 PRO

    I should do something like this for doing directional flipping when you enter negative values for things like offsets or move faces. Save myself the need to remember the expression syntax.

  • ry_gb
    ry_gb Member, csevp, pcbaevp Posts: 273 PRO
    edited December 2025

    I just did this the other day. It didn't seem like a lot of effort, but I can see that it would get annoying if I had to do this a lot. Adding this to my toolbar.

    Ramon Yip | glassboard.com

  • jelte_steur_info
    jelte_steur_info Member Posts: 683 PRO

    @Derek_Van_Allen_BD.
    I imagine this as an "absolute variable" FS that takes in a variable and outputs two new ones, reusing the names etc.

    input: #offset

    output: #offset_abs (is same type as input).
    #offset_flip (is boolean)

  • eric_pesty
    eric_pesty Member, pcbaevp Posts: 2,929 PRO

    The native variable feature really should have a "Boolean" option (in addition to "any")!