Skip to content

Artisan Grasshopper

Default Values

4 components in Artisan › Default Values.

Default Value Bool

Outputs Bool when it has data; otherwise outputs Default Bool.

Nickname: DefaultBool · Tab: Artisan › Default Values

Inputs

NameNicknameTypeAccessDescription
Bool (optional)BoolBooleanitemThe boolean. If it has data, it is passed through.
Default Bool (optional)Default BoolBooleanitemFallback boolean used when Bool has no data.

Outputs

NameNicknameTypeAccessDescription
BoolBoolBooleanitemBool if present, otherwise Default Bool.

Default Value Double

Outputs Double when it has data; otherwise outputs Default Double.

Nickname: DefaultDouble · Tab: Artisan › Default Values

Inputs

NameNicknameTypeAccessDescription
Double (optional)DoubleNumberitemThe number. If it has data, it is passed through.
Default Double (optional)Default DoubleNumberitemFallback number used when Double has no data.

Outputs

NameNicknameTypeAccessDescription
DoubleDoubleNumberitemDouble if present, otherwise Default Double.

Default Value Int

Outputs Value when it has data; otherwise outputs Default Value.

Nickname: DefaultInt · Tab: Artisan › Default Values

Inputs

NameNicknameTypeAccessDescription
Int (optional)IntIntegeritemThe integer. If it has data, it is passed through.
Default Int (optional)Default IntIntegeritemFallback integer used when Int has no data.

Outputs

NameNicknameTypeAccessDescription
IntIntIntegeritemInt if present, otherwise Default Int.

Default Value String

Outputs String when it has data; otherwise outputs Default String.

Nickname: DefaultString · Tab: Artisan › Default Values

Inputs

NameNicknameTypeAccessDescription
String (optional)StringTextitemThe text. If it has data, it is passed through.
Default String (optional)Default StringTextitemFallback text used when String has no data.

Outputs

NameNicknameTypeAccessDescription
StringStringTextitemString if present, otherwise Default String.