¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Simpl+ with "" as the default string parameter value


 

I've written a Simpl+ module with a massive amount of string parameters and to make the module as user friendly I would like have them fill with "" by default.??

I've tried about every combo I can think of for the?propDefaultValue but alas, no luck.? And for some reason Simpl like to fill in the values with a 0d if you tell it to complete the block.

Any hints on the syntax?? I tried """", "\x22\x22" and "\"\"" along with everything I could think of.

Anyone get this to work?

Thanks


 

¿ªÔÆÌåÓý

I'm not sure if this will work for you without doing a bunch of testing, but it sounds like S+ believes that it is OK to put a 0d in your parameter field that should only be accepting a string.? Try setting the following in your parameter properties.

propValidUnits = unitString;

Hope this helps

Jay

On 2/24/2024 4:04 AM, Devin Cook wrote:

I've written a Simpl+ module with a massive amount of string parameters and to make the module as user friendly I would like have them fill with "" by default.??

I've tried about every combo I can think of for the?propDefaultValue but alas, no luck.? And for some reason Simpl like to fill in the values with a 0d if you tell it to complete the block.

Any hints on the syntax?? I tried """", "\x22\x22" and "\"\"" along with everything I could think of.

Anyone get this to work?

Thanks


 

Thanks for the suggestion.

Unfortunately it didn't work.

--Devin

On Sat, Feb 24, 2024 at 5:42?AM jbasen <jay.m.basen@...> wrote:

I'm not sure if this will work for you without doing a bunch of testing, but it sounds like S+ believes that it is OK to put a 0d in your parameter field that should only be accepting a string.? Try setting the following in your parameter properties.

propValidUnits = unitString;

Hope this helps

Jay

On 2/24/2024 4:04 AM, Devin Cook wrote:
I've written a Simpl+ module with a massive amount of string parameters and to make the module as user friendly I would like have them fill with "" by default.??

I've tried about every combo I can think of for the?propDefaultValue but alas, no luck.? And for some reason Simpl like to fill in the values with a 0d if you tell it to complete the block.

Any hints on the syntax?? I tried """", "\x22\x22" and "\"\"" along with everything I could think of.

Anyone get this to work?

Thanks


 

Have you tried wrapping it in a umc, then setting the parameter properties in Simpl?

--- On Saturday, February 24, 2024 at 2:04 PM, Devin Cook wrote:

Thanks for the suggestion.

Unfortunately it didn't work.

--Devin

--- On Sat, Feb 24, 2024 at 5:42?AM jbasen wrote:

I'm not sure if this will work for you without doing a bunch of testing,
but it sounds like S+ believes that it is OK to put a 0d in your parameter
field that should only be accepting a string. Try setting the following
in your parameter properties.

propValidUnits = unitString;
Hope this helps

Jay


--- On 2/24/2024 4:04 AM, Devin Cook wrote:

I've written a Simpl+ module with a massive amount of string parameters
and to make the module as user friendly I would like have them fill
with "" by default.

I've tried about every combo I can think of for the propDefaultValue but
alas, no luck. And for some reason Simpl like to fill in the values
with a 0d if you tell it to complete the block.

Any hints on the syntax? I tried """", "\x22\x22" and "\"\"" along with
everything I could think of.

Anyone get this to work?

Thanks


 

Tony is right, the only way to have an empty string parameter default to "" in SIMPL when you drag in a module is to do what Tony said, edit parameter properties (in .umc) and set default value to "".

Logically pretty much impossible to do that in Simpl+.