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

combobox #54

Open
lcsavas opened this issue Nov 24, 2021 · 1 comment
Open

combobox #54

lcsavas opened this issue Nov 24, 2021 · 1 comment

Comments

@lcsavas
Copy link

lcsavas commented Nov 24, 2021

very useful package, but it would be more cool if there would be possibility to define combobox type property with possible values

@mwganson
Copy link
Owner

You mean an enumeration? You could add this in the python console. Select the dd object, press Ctrl+Shift+P. In the console:

obj.addProperty("App::PropertyEnumeration","ddEnum")
setattr(obj,"ddEnum",[1,2,3])

I will see if I can add this functionality.

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

2 participants