Default group styles in preferences greyed out

The default group styles in the preferences are greyed out and I’m not able to change anything.
Is this by design or a bug?

I also tried changing from the settings xml but they are sticking to their values.

Dynamo version 2.19.3

image

Default group styles cannot be edited - even if you remove them from existence via some very dodgy API use (which I think has since been removed) they don’t actually go away, and come back in this UI the next time you start Dynamo.

I see, do you know what the reasoning behind this is?

I do not, but I do think it would be good to submit a wishlist item to the roadmap as this seems like something that could be possible.

not sure if it has been documented before, but I have created a wishlist item for the group styles:

From what I have seen, if you leave the standard ones in the customized styles should stick. The default ones always come back though. Are you seeing different behavior?

FYI @solamour

We have the default styles there intentionally to ensure a degree of consistency for all users who do not wish to create their own. This surfaces by default in the “Group Styles” menu item for each Group. We’re open to revisiting the idea of ensuring these default Group styles persist.

If you are seeing bugs where your customized styles disappear for any reason, then please let us know! Ideally with a reproducible case. @Thomas3 looking at your Wishlist item, it appears that you have such reproducible case?

FYI @achintya_bhat

1 Like

yes it is reproducible, just try to use the group style settings in the DynamoSettings.xml file provided on GitHub.
If you want to keep the default group style for normal users, a separate option in the dynamosettings.xml would be useful
<DefaultGroupStyleItems>true</DefaultGroupStyleItems>
Having such an option, a company can decide if they want to hide the default group styles with
<DefaultGroupStyleItems>false</DefaultGroupStyleItems>
. And thus the default styles shouldn’t be in the DynamoSettings at all, instead just one custom (editable) group style as example. Because as Dynamo admin, you think you can change the default group styles in the DynamoSettings.xml, but after testing it many times, you realize it is not possible :stuck_out_tongue:
We are using also the monocle ve to define the standards of the group styles, but it would be nice, if we can have exactly the same group style settings within the normal Dynamo UI. So we can avoid to rework scripts from users, that have maybe used the Dynamo default group styles.
Also it would be nice if the groupstyle context menu can be integrated into the create group context item. Atm you need to create a group via context menu and open the context menu a second time to assign a group style.

1 Like

Hi @solamour , @Thomas3 ,

I’ve recently also been looking into standardising our Dynamo template with our entire organisation, for which I would also like to set and have others easily import these organisational settings instead of the standard Dynamo ones.

I couldn’t find any other topic talking about this so continuing in here seems fitting. Therefore my question:

What is the current status and method for doing this, and is it possible?

@Daan if using Revit, please refer to this thread: Revit 2024: Trouble deploying Revit with the Dynamo Settings :slight_smile:

If using AutoCAD, we don’t have this set-up yet I believe. Can you confirm here @zachri.jensen?

If you’re referring to setting up a deployment, then yes, there should be the same mechanism on manage.autodesk.com for creating Civil 3D deployments.

1 Like

Hi @solamour , @zachri.jensen ,

Thanks for the quick responses, very interesting! Didn’t know that at the initial Revit/Civil setup you could already enforce Dynamo settings as well.

Is it also possible to, when an user has already installed these software(s) on their system, to update the standard dynamo settings, specifically the grouping styles, afterwards?

Nevermind! I have found that you can easily import and export your Dynamo settings, including the custom group styles, from the Dynamo Preferences menu :smiley:

2 Likes

Was just about to tell you this :smiley: