DynamicData icon indicating copy to clipboard operation
DynamicData copied to clipboard

Add option(s) to change and/or disable properties name prefix

Open silopolis opened this issue 3 years ago • 3 comments

Hi,

So, as already reported in #53 , it would be very nice to have the possibility to disable and/or rename it to another (possibly empty, if easier than a disable toggle ?) string. Having straight "Object.Name" scheme available would be really great 🙏 Further, this would allow to blend more seamlessly with the now builtin "Add property" feature. Finally, as the prefix can be removed with the "Rename Property" command, this saves the user a boring step.

silopolis avatar Oct 24 '22 17:10 silopolis

The dd prefix seemed like a good idea at the time. I regret it now, but so much of the code in the workbench expects that prefix to be there, it would be a lot of work now to change it. You can rename the property to get rid of it, but relabeling in the gui doesn't do it. The rename property ability was something I added recently, and in the new code the prefix is no longer required, so that's why renaming works as a boring way to remove the prefix, but some features of the workbench might not work for such renamed properties. I will keep your suggestion in mind.

mwganson avatar Oct 25 '22 21:10 mwganson

Any updates on this issue?

luzpaz avatar May 03 '23 13:05 luzpaz

No updates. I actually still think it's useful to have the dd prefix. For example, when referencing a property from a sketch constraint if you enter "dd.dd" it brings up a useful list of properties from which the desired property may be selected. Did I named that property "top_length", "topLength", "length_of_top", or was it "top_len"? If you don't remember you might have to switch to the model view and go digging around in the dd object to find the name of the property.

mwganson avatar May 03 '23 15:05 mwganson