Comments (5)
Thanks for flagging this Martin!
Seems to have been an involuntary consequence of our rework on categories. We'll make sure it's addresses before the stable release.
from speckle-sharp.
Thanks for flagging this Martin!
Seems to have been an involuntary consequence of our rework on categories. We'll make sure it's addresses before the stable release.
from speckle-sharp.
Hey @martinromby my understanding is that the strings sent in 2.15 use the display value of the Category field, which is localized.
How are you currently handling categories in other languages?
from speckle-sharp.
Hi @martinromby , to give you more context this misalignment was introduced because we've (1) refactored how we were previously sending category values with a new list of RevitCategory
enums for better internal alignment and (2) we are now using the category display name for our Collection
class while using the enum value for object category
property values.
Would changing the Collection
name to match the object category property values solve your misalignment issue, eg using StructuralColumns
instead of Structural Columns
for both the Collection
name and the object category
value?
from speckle-sharp.
Hi @clairekuang and @teocomi
Thanks for taking time out of your retreat to get back to me on this. :)
Hey @martinromby my understanding is that the strings sent in 2.15 use the display value of the Category field, which is localized. How are you currently handling categories in other languages?
We haven't run into these issues just yet. But this PR smoothens those bums - thanks! 🙌
Just for reference:
Commit with 2.15.2 version - with DEU localization (localized category naming):
https://speckle.xyz/streams/8bfb3033d8/commits/059d931656
Commit with 2.16.0-rc3 version - with DEU localization (standardised category naming):
https://speckle.xyz/streams/8bfb3033d8/commits/bc4f108228
Hi @martinromby , to give you more context this misalignment was introduced because we've (1) refactored how we were previously sending category values with a new list of
RevitCategory
enums for better internal alignment and (2) we are now using the category display name for ourCollection
class while using the enum value for objectcategory
property values.Would changing the
Collection
name to match the object category property values solve your misalignment issue, eg usingStructuralColumns
instead ofStructural Columns
for both theCollection
name and the objectcategory
value?
Ahh - I see. At the moment we use the object category
property values, but I agree that the ENUM lists are a better implementation and we'll change our whitelisted categories accordingly.
I'll leave the Collection
naming up to you, but I weigh towards some sort of naming alignment between Collection
and object
.
from speckle-sharp.
Related Issues (20)
- Meshes in displayValue have area and volume as zero. HOT 2
- Enhancement: Integrating material_quantities into the ArchiCAD converter. HOT 2
- revit: cutback parameters not set for framing on receive HOT 1
- Compatibility with ETABS 21
- My Fake ticket, testing! HOT 6
- New issue
- ARCHICAD Converter: No BuildingMaterial for Windows and not all Components HOT 3
- ARCHICAD converter: Beams and columns do not have the profile information.
- SetRelationship (in CommitObjectBuilder) throws "an item with the same key has already been added" exception HOT 6
- Enhancement: Civil 3D Corridor Baseline and Cross Section Data HOT 2
- feat(archicad): Add support for openings
- feat(archicad): Add certification to "ConnectorArchicad.exe"
- feat(archicad): Update connector icon on Mac HOT 1
- feat(archicad): Add default commit message
- Civil connector will not allow selection of corridors to push
- Revit floors with slab shape points
- Bug: Rhino Converter throws an error when unnamed collections are filtered HOT 2
- Revit Connector: doesn't apply ParameterUpdater using applicationId HOT 1
- bug(Archicad): Properties of Objects not showing in viewer HOT 2
- Broken link to DesktopUI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speckle-sharp.