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

Entity.Get() method shows char list on string field #301

Open
rui-tang-symetri-com opened this issue Nov 5, 2024 · 2 comments · May be fixed by #296
Open

Entity.Get() method shows char list on string field #301

rui-tang-symetri-com opened this issue Nov 5, 2024 · 2 comments · May be fixed by #296
Labels
improvements ✨ Improvements to an existing functionality

Comments

@rui-tang-symetri-com
Copy link

rui-tang-symetri-com commented Nov 5, 2024

RevitLookup version

2022.3.10

Steps to reproduce

  1. Use Snoop DataBase Command, snoop on a DataStorage object

  2. Click into GetEntity (Schema)
    2024-11-05 09 26 36

  3. Click into Get (String)
    2024-11-05 09 28 36

  4. If a field is a string, the snoop window will show it as char list, along with other unnecessary info, and is extremely slow and prone to crash
    2024-11-04 18 20 29

✔️ Expected Behavior

Please just show string value, when a field's FieldType is string.

ref: Entity.Get<FieldType>( string fieldName )
https://www.revitapidocs.com/2024/335c9ebe-8d73-f9e7-631c-7a026972f364.htm

❌ Actual Behavior

When a field is a string, it opens extremely slow, because it shows its char list, Length, Clone, ToUpper, ToLower, Trim, GetHashCode etc.

Other Software

No response

@rui-tang-symetri-com rui-tang-symetri-com added bug 🐛 An unexpected issue that highlights incorrect behavior unverified ⌛ Needs more investigation to conclude it's an actual bug labels Nov 5, 2024
@Nice3point Nice3point added improvements ✨ Improvements to an existing functionality and removed bug 🐛 An unexpected issue that highlights incorrect behavior unverified ⌛ Needs more investigation to conclude it's an actual bug labels Nov 5, 2024
@Nice3point
Copy link
Collaborator

Improved, RevitLookup will now work with larger amounts of data. 300k rows is not a problem, the fix will be released in the next patch

38rpXr1bv3.webm

@Nice3point Nice3point linked a pull request Dec 1, 2024 that will close this issue
13 tasks
@tangrui1992
Copy link

Wow. Thanks!

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

Successfully merging a pull request may close this issue.

3 participants