Post Custom Boolean Option
-
- Posts: 452
- Joined: Wed Sep 12, 2018 8:18 pm
- Location: South Carolina, USA
- Contact:
Post Custom Boolean Option
Hey Les, when defining a post custom option and setting it to a boolean, the popup box shows either 0 or 1, could it be customized or made to show True/Flase or Yes/No?
Re: Post Custom Boolean Option
It should show a check like the custom tool options. I noticed this a while ago.
- Les Newell
- Site Admin
- Posts: 3671
- Joined: Thu May 11, 2006 8:12 pm
Re: Post Custom Boolean Option
I'll look into it. Making it display true/false means some changes to the way custom values are handled, which may turn into a bit of a rabbit hole.
Re: Post Custom Boolean Option
The tool and operation custom settings with boolean values show as check boxes, only the custom post option doesn't if you set it as boolean.
-
- Posts: 452
- Joined: Wed Sep 12, 2018 8:18 pm
- Location: South Carolina, USA
- Contact:
Re: Post Custom Boolean Option
Yeah, a check box even would be fine too.
Re: Post Custom Boolean Option
I noticed that the boolean options in the custom post still show as 0 or 1 and not a checkbox in the latest versions. Guessing this slipped through the cracks.
- Les Newell
- Site Admin
- Posts: 3671
- Joined: Thu May 11, 2006 8:12 pm
Re: Post Custom Boolean Option
I'll add it back into the to-do list
- Les Newell
- Site Admin
- Posts: 3671
- Joined: Thu May 11, 2006 8:12 pm
Re: Post Custom Boolean Option
Sorry for the delay. I'm now pushing for an update but I can't replicate this one. Booleans show as check boxes in V7.0.19 and V7.1.22.
As a test I added this code to a post:
Plasma tools get an extra parameter called 'test' that is a check box.
As a test I added this code to a post:
Code: Select all
post.DefineCustomToolParam("PlasmaTool", "test", "test", sc.unitBOOLEAN, 0,0,1)
Re: Post Custom Boolean Option
It's not the tool parameters, it's the post options. The popup that appears from the button in the post selection window.
- Les Newell
- Site Admin
- Posts: 3671
- Joined: Thu May 11, 2006 8:12 pm
Re: Post Custom Boolean Option
Perhaps I should have actually read the whole thread rather than just the last few posts I'll take a look at it.
Re: Post Custom Boolean Option
Was this ever fixed?