Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
silopolis opened this issue Oct 24, 2022 · 3 comments
Open

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

silopolis opened this issue Oct 24, 2022 · 3 comments

Comments

@silopolis
Copy link

silopolis commented Oct 24, 2022

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.

@mwganson
Copy link
Owner

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.

@luzpaz
Copy link
Contributor

luzpaz commented May 3, 2023

Any updates on this issue?

@mwganson
Copy link
Owner

mwganson commented May 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants