The original code has following, and I try to make it into a list of Length to control different 'segment' of the stairs. Seem nothing in the https://www.freecadweb.org/wiki/Scripted_objects
Code: Select all
obj.addProperty("App::PropertyLength","Width","Arch",QT_TRANSLATE_NOOP("App::Property","The width of these stairs"))
Any better ideas?
Thanks.