how using python scripting ?
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: how using python scripting ?
Note, neither the PropertyFloatList nor PropertyStingList are intended to have a set of values where only one is active. Instead, these classes are used to store values like the distances per vertex for a visual inspection calculations. What you need is the class App::PropertyEnumeration which has a list of predefined values and only one of them is active. The items inside are only strings but it should be not too hard to save/load floats as string.