regarding the property controller, .... I have not been able to think of a tidy way to implement this at all, but I was wondering if we could in some way drive these from the property themselves?
For example some of the ideas I mulled over,
1) have a tick box "from spreadsheet" next to all property value boxes, then if ticked the value would be read only like the current PartDesign placement properties, then we would need some sort of pop down box, or something else, to enter a cell address.
2) do something along the lines of extending the current Units system so that you could just enter a cell reference directly into the input box. But then we would have to display the values some how......
regarding multiple spreadsheets....currently you can create more than on spreadsheets in one FreeCAD project file....I think we need to remember this as we design anything, (e.g. the property controller), and make sure we make allowance for this scenario. For example presumably a property controller would require a "spreadsheet name" value along with each spreadsheet cell reference.
regarding Label/names for shapes
eivindkvedalen wrote: jmaustpc wrote:I see why it would not work for me earlier, it looks at the name not the label, I should have thought of that. I had a default Part Cube, hence "Box" no "Cube".
Hmm. I thought I had a check for both name and label...
Just a thought since labels can be anything, checking for both might be potentially problematic,
for example
1) a "label" for one shape could be the same as a "name" for another shape. This might not be obvious to a user if the labels have been edited in the GUI.
2) if "allow duplicate Labels" preference has been enabled in the FreeCAD preferences, then the document could have multiple items with the same label. Hence a reference to a label would not know which item to read. Of course, conversely this could be a part of a method to reference multiple objects, but that would be untidy.
Jim