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

ELement.ToString node has non-functional inputs #3107

Open
JacobSmall opened this issue Oct 28, 2024 · 2 comments
Open

ELement.ToString node has non-functional inputs #3107

JacobSmall opened this issue Oct 28, 2024 · 2 comments

Comments

@JacobSmall
Copy link

JacobSmall commented Oct 28, 2024

Dynamo Version

Predates 2018, persists in 3.3

Revit Version

Any

Operating System

Any

What did you do?

Tried to make ELement.ToString(format, iFormatProvider) work.

What did you expect to see?

A way to wire this node so it works with the nodes provided in the Dynamo library.

What did you see instead?

Errors with any input.

Stacktrace/logs

No response

Details

There is a Element.ToString node in the Dynamo for Revit library for which no valid inputs can be found.
image

Beyond the obvious element for which this method is in the class for, the node takes both a Format input and an IFormatProvider input, the first of which isn't clear in terms of the use ("MMDDYYY" didn't work for me), and the second of which no standard node can be found to produce an object of that type (ML Autocomplete recommends a GetParameterValueByName node with 100% certainty).

My guess is this is intended to be an internal overload to the default 'ToString' in order to provide the correct display of Revit objects such as reference points, however exposure in the library leads to user confusion.

Note that there is a request for a sample of this node on the Dictionary github which was submitted on December 7th, 2018 and has not had a response from development yet. DynamoDS/DynamoDictionary#17

@JacobSmall
Copy link
Author

Forum link for original question: https://forum.dynamobim.com/t/element-tostring-input/105424/

@avidit avidit added the tracked label Oct 28, 2024 — with Slack
@dynamo-ci-user dynamo-ci-user moved this from Triage to Todo in DynamoRevit Issues Oct 28, 2024
@avidit
Copy link
Contributor

avidit commented Oct 28, 2024

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

No branches or pull requests

2 participants