Attributes

DynamicArguments

class lxu.attributes.DynamicArguments

This is equivalent to the CLxDynamicArguments class.

arg_DisableMsg(index, message)

Return true if the argument is disabled, and set the message if any.

arg_UIHints(index, hints)

Set hints for the argument.

arg_UIValueHints(index)

Return a UIValueHints object for the argument.

atrui_DisableMsg(index, message)
atrui_UIHints(index, hints)
atrui_UIValueHints(index)
attr_Count()

Returns number of attributes.

attr_GetFlt(index)
attr_GetInt(index)
attr_GetString(index)
attr_Hints(index)

Returns hint vector for an attribute by index.

attr_Lookup(name)

Returns the index of an attribute given the name.

attr_Name(index)

Returns name of an attribute by index.

attr_SetFlt(index, val)
attr_SetInt(index, val)
attr_SetString(index, val)
attr_Type(index)

Returns basic type of an attribute by index.

attr_TypeName(index)

Returns value type string of an attribute by index.

attr_Value(index, writeOK)

Get value object for an attribute. If writeOK is true the value will be created if it doesn’t exist.

dyna_Add(name, type)

Add an attribute to the end of the attribute list. Takes a name and value type string.

dyna_Bool(index, value)
dyna_Clear(index)

Clear a single argument.

dyna_ClearAll()

Clear all arguments.

dyna_Float(index, value)
dyna_GetFlags(index)

Get the argument flags. This computes the VALUE_SET flag dynamically.

dyna_GetType()

Return the type of variable type arguments (for override).

dyna_HasVariable()

Test if any arguments have variable type.

dyna_Int(index, value)
dyna_IsSet(index)

Returns true if the attribute value is set.

dyna_SetFlags(index, flags)

Set the optional flags int for an attribute.

dyna_SetHint(index, hint)

Set the optional hint vector for an attribute.

dyna_SetType(index, type)

Change the value type for an attribute by index. Setting it to None clears the stored value without changing the type.

dyna_SetVariable()

Set the type of all arguments that have variable type.

dyna_String(index, value)

DynamicAttributes

class lxu.attributes.DynamicAttributes

This is equivalent to the CLxDynamicAttributes class.

arg_DisableMsg(index, message)

Return true if the argument is disabled, and set the message if any.

arg_UIHints(index, hints)

Set hints for the argument.

arg_UIValueHints(index)

Return a UIValueHints object for the argument.

atrui_DisableMsg(index, message)
atrui_UIHints(index, hints)
atrui_UIValueHints(index)
attr_Count()

Returns number of attributes.

attr_GetFlt(index)
attr_GetInt(index)
attr_GetString(index)
attr_Hints(index)

Returns hint vector for an attribute by index.

attr_Lookup(name)

Returns the index of an attribute given the name.

attr_Name(index)

Returns name of an attribute by index.

attr_SetFlt(index, val)
attr_SetInt(index, val)
attr_SetString(index, val)
attr_Type(index)

Returns basic type of an attribute by index.

attr_TypeName(index)

Returns value type string of an attribute by index.

attr_Value(index, writeOK)

Get value object for an attribute. If writeOK is true the value will be created if it doesn’t exist.

dyna_Add(name, type)

Add an attribute to the end of the attribute list. Takes a name and value type string.

dyna_Bool(index, value)
dyna_Float(index, value)
dyna_GetFlags(index)

Returns flags for an attribute by index.

dyna_Int(index, value)
dyna_IsSet(index)

Returns true if the attribute value is set.

dyna_SetFlags(index, flags)

Set the optional flags int for an attribute.

dyna_SetHint(index, hint)

Set the optional hint vector for an attribute.

dyna_SetType(index, type)

Change the value type for an attribute by index. Setting it to None clears the stored value without changing the type.

dyna_String(index, value)