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

[FEATURE] Component Attributes #4

Open
bastiannispel opened this issue Sep 19, 2024 · 0 comments
Open

[FEATURE] Component Attributes #4

bastiannispel opened this issue Sep 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bastiannispel
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
As of now it's only possible to define the layer/geometry structure of a component(-type).
In order to extend the variety of information a component should be able to store custom user attributes as well.

Describe the solution you'd like
The core component could expose a dictionary for custom user attributes. Another option could be to let the core component inherit from a DynamicObject. Based on that it'll need additional GH components or an extension of the existing ones :

  • (Existent) GHDeconstructComponent : Add another output parameter to get the user attributes of a component
  • (Existent) GHCreateObjectAttributes : Add another optional input parameter to set user attributes on the geometry level
  • (Existent) GHCreateComponent : Add another optional input parameter to set user attributes on the component level
@bastiannispel bastiannispel added the enhancement New feature or request label Sep 19, 2024
@bastiannispel bastiannispel added this to the v1.0.0 milestone Sep 19, 2024
@bastiannispel bastiannispel self-assigned this Sep 19, 2024
@bastiannispel bastiannispel removed this from the v1.0.0 milestone Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant