I am a FreeCAD beginner, so sorry in advance!
I would like to retrieve the label of each part in an assembly from within python.
If I understand correctly Label is stored within PropertiesList as given in
http://www.freecadweb.org/wiki/index.ph ... Object_API
However I can't access PropertiesList. Is this implemented? How do I do it?
In my mind I should do something like:
Code: Select all
structure = Part.read('assembly_name')
part1_Label = structure.Shells[0].PropertiesList.Label
(I am using Freecad0.14)
Thanks!