meshroom.core.desc.ChoiceParam

Inheritance diagram of meshroom.core.desc.ChoiceParam
class meshroom.core.desc.ChoiceParam(name, label, description, value, values, exclusive, uid, group='allParams', joinChar=' ', advanced=False, semantic='', enabled=True)
__init__(name, label, description, value, values, exclusive, uid, group='allParams', joinChar=' ', advanced=False, semantic='', enabled=True)

Methods

__init__(name, label, description, value, ...)

checkValueTypes()

Returns the attribute's name if the default value's type is invalid or if the range's type (when available) is invalid, empty string otherwise.

conformValue(val)

Conform 'val' to the correct type and check for its validity

matchDescription(value[, strict])

Returns whether the value perfectly match attribute's description.

parent()

validateValue(value)

Return validated/conformed 'value'.

Attributes

advanced

description

enabled

exclusive

group

joinChar

label

name

semantic

type

uid

uidIgnoreValue

value

values