Open rmcanany opened 1 month ago
Template properties should also store the property type. Adding an unknown property should require a type to be provided. Places where a property can be added manually (e.g. Save As subdirectory formula) should check for the presence of the property and have the user add it if not found.
@farfilli Just pushed a commit that replaces TemplatePropertyDict with the new PropertiesData. It's definitely an improvement. I appreciate your suggestion!
It seems to be working for Property Filter, Edit Properties (SE and OLE), Save Drawing As, and Save Model As. A lot of code changed, though. If you run into any issues, let me know.
I didn't account for queries. Let me know what I need to add for those.
The new PropertyFilters functionality was merged in just now. I did some testing, but not a ton. Let me know if you run into any issues.
Could start with TemplatePropertyDict. I guess the class would be TemplateProperty and we would then create a List(Of TemplateProperty). Does that sound about right?