rmcanany / SolidEdgeHousekeeper

Utility for finding annoying little errors in your Solid Edge project
MIT License
25 stars 11 forks source link

Transition Dictionaries to separate Classes #156

Open rmcanany opened 1 month ago

rmcanany commented 1 month ago

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?

rmcanany commented 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.

rmcanany commented 4 weeks ago

@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.

rmcanany commented 3 weeks ago

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.