Adam Hathcock
edebc8e98f
Remove Revit file entity check as we're storing model card state only in DB and not the file ( #1100 )
2025-09-18 10:42:45 +01:00
Jedd Morgan
8c21e2362b
Merge pull request #1098 from specklesystems/jrm/CA2254
...
Chore(build): Enforce CA2254
2025-09-18 10:25:27 +01:00
Björn Steinhagen
5d40645aef
fix(revit): prevent exceptions from corrupted settings with defaults ( #1096 )
...
* fix: add defensive handling for corrupted settings in managers
* fix: add Newtonsoft attributes to protect settings Value properties
* refactor: extract Revit setting IDs to constants class
* refactor: adam comments
* fix: add try-catch for document deserialization failures
* fix: cleanup
* fix: pr comments
* fix: reduce defining defaults with constants
* fix: pr comments and touchups
* fix: remove unnecessary using statement
* fix: null string not needed
* chore: cleanup
* chore: default
* fix: send not receive setting
* chore: more cleanups
* refactor: ambiguity with reference point settings for publish and load
2025-09-18 11:11:34 +02:00
Adam Hathcock
b5ad4ac32f
trying to avoid null exceptions ( #1095 )
...
* trying to avoid null exceptions
* more document nulls?
2025-09-17 10:12:06 +00:00
Adam Hathcock
2a2801eced
Avoid using blam operator to ignore nulls ( #1071 )
...
* Avoid using blam operator to ignore nulls
* Making more null docs be handled
* formatting
* throw instead of silent failure
* push dependencies upwards
* push up more document handling
* Pass doc rather than regetting it
* added comment
* move doc null check
2025-09-17 11:04:18 +01:00
Claire Kuang
8ed6eebc2c
fix(grasshopper): converts exceptions to warnings if non-acceptable inputs are detected ( #1093 )
2025-09-15 14:04:24 +00:00
Björn Steinhagen
58afaecce2
feat(etabs): adds modal results to analysis extractor ( #1080 )
...
* feat: adds ModalParticipatingMassRatios to analysis results
* feat: adds ModalParticipationFactors to analysis results
* feat: adds ModalPeriod to analysis results
* fix: add new extractors
* fix: duplicate const
* fix: service registrations
* refactor: mode instead of step
* chore: remove extractors with etabs api bug
2025-09-15 10:39:44 +00:00
Adam Hathcock
93c6df41fd
Update to SDK 3.5.4 ( #1092 )
...
* Update to SDK 3.5.4
* chore: remove hack
---------
Co-authored-by: Björn <steinhagen.bjoern@gmail.com >
2025-09-15 07:49:13 +00:00
Björn Steinhagen
0f32cb3c6d
feat(grasshopper): add "Always select all" toggle to Collection and Property Selectors ( #1090 )
...
* fix: expose Select All and Invert Selection in ValueSet context menu
* feat: "Always select all" toggle to collection and property selectors
* refactor: auto-select instead of always select
---------
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-13 06:59:54 +02:00
Björn Steinhagen
f948417e31
fix(grasshopper): QueryProperties handles list-valued properties ( #1089 )
...
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-12 15:50:12 +01:00
Claire Kuang
2ddd96ebea
adds new png for expand icon ( #1091 )
2025-09-12 13:27:44 +01:00
Jedd Morgan
333ef4bb71
Refactor(metrics)!: Refactor metrics tracking to avoid defaults ( #1082 )
...
* Refactor metrics to avoid fallbacks
* Bump sdk
* fix tests
* require email scope for grasshopper token url node
2025-09-10 16:54:50 +00:00
Björn Steinhagen
b695a95032
fix(grasshopper): clear Base.id to force serializer recomputation of mutations ( #1084 )
...
* fix: clear `Base.id` to force serializer recomputation of mutations
* fix: same treatment for blocks
---------
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-10 17:07:22 +01:00
Björn Steinhagen
a42c8bd825
fix: early return and safety guard to ExpandSpeckleProperties parameter creation ( #1083 )
2025-09-10 16:48:13 +01:00
Björn Steinhagen
9ef3768845
fix: FilterSpeckleObjects material and property key filtering ( #1079 )
2025-09-09 14:09:21 +01:00
Björn Steinhagen
94f04c9aeb
fix(grasshopper): working with SpeckleProperties list values ( #1077 )
...
* fix: preserve GH_ParamAccess types during parameter discovery in DeconstructSpeckleParam
* chore: unnecessary string interpolation
* feat: `ExpandSpeckleProperties` component
* adds icon
* chore: cleanup
* chore: capital P
---------
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-09 08:16:03 +01:00
Claire Kuang
f09e60fe02
fix(grasshopper): updates sample scripts ( #1076 )
...
* updates sample scripts
* adds text
2025-09-08 14:08:44 +00:00
Björn Steinhagen
b708d2d265
fix(grasshopper): QuerySpeckleObjects crashes with type-specific outputs when path is set ( #1072 )
...
* fix: `QuerySpeckleObjects` index out of range with type-specific outputs and path filtering
* chore: unnecessary using statement
* refactor: simplify ternary operator chain to if statements
---------
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-08 15:49:17 +02:00
Björn Steinhagen
66302f5ab3
fix: collection order inconsistency in RootObjectUnpacker ( #1075 )
...
* fix: collection order inconsistency in RootObjectUnpacker
* fix: adam
* refactor: use List instead of HashSet in SplitAtomicObjectsAndInstances
* fix: no need for .ToArray()
* chore: sdk version bump
2025-09-08 13:14:37 +02:00
Adam Hathcock
7f343596fc
Use FirstOrDefault more ( #1073 )
2025-09-05 13:09:07 +01:00
Adam Hathcock
3f74a7aa3e
use FirstOrDefault again ( #1069 )
...
Co-authored-by: Jedd Morgan <45512892+JR-Morgan@users.noreply.github.com >
2025-09-04 15:59:32 +00:00
Björn Steinhagen
d63b6604fc
feat(grasshopper): add extract parameter functionality ( #1070 )
2025-09-04 16:24:54 +02:00
Adam Hathcock
dc94724800
fix(Revit) - Getting a key on exception could result in null reference exceptions ( #1064 )
...
* Getting a key on exception could result in null reference exceptions
* Unique id does not exist?
* Use CreationGUID which isn't null
* add comment
* Generate keys differently
* more robust solution that doesn't use hashcode
2025-09-03 16:13:39 +01:00
Adam Hathcock
62835613e6
Never use First() as it can be missing ( #1065 )
2025-09-03 15:32:15 +01:00
Claire Kuang
fe3d4e5544
feat(rhino): adds user dictionary to object props ( #1046 )
...
* adds user dicts to rhino
* defaults to string value
---------
Co-authored-by: Björn <steinhagen.bjoern@gmail.com >
2025-09-02 15:56:56 +01:00
Björn Steinhagen
ff5cdf47df
feat(etabs): add result extraction with UI integration ( #1044 )
...
* feat: poc hack
- just send some results as Base to serve as a discussion point
* refactor: column forces extraction class
* feat: column forces compound keys
* feat: basic check if results available
* Revert "Merge remote-tracking branch 'origin/dev' into bjorn/properties-curation-structural-connectors-analysis-results"
This reverts commit 4b88fc150f , reversing
changes made to 855240b713 .
* Reapply "Merge remote-tracking branch 'origin/dev' into bjorn/properties-curation-structural-connectors-analysis-results"
This reverts commit 57f66dea7b .
* feat (etabs): multi-selectable dropdowns for analysis result (#1019 )
* integrated ui components
* populates the dropdown
* format
* removed filtering logic
* feat(etabs): replace database table extraction with direct Results API for analysis results (#1024 )
* feat: first steps in linking ui to results extractor
* refactor: simple frame force extractor
* refactor: flexible extractor
* chore: cleanup
* refactor: computed property
* feat(etabs): add UI integration for dynamic result type selection (#1025 )
* refactor: linking up results type
* fix: send settings
* feat(etabs): adds more extractors (#1026 )
* feat: adds `BaseReact` extractor
* refactor: repeating strings under constants
* fix: array processing only
* feat: adds `PierForce`extractor
* feat: adds `SpandrelForce` extractor
* feat: adds `StoryDrifts` extractor
* fix: missing key in selection shouldn't throw
* feat: adds `JointReact` extractor
* refactor(etabs): improve load case validation and error handling
* fix: case status validation
* fix(etabs): correct Zip method syntax for load case validation
* refactor(etabs): simplify validation by throwing `SpeckleException`inside `LoadCaseManager`
* refactor: add unit information
---------
Co-authored-by: Dogukan Karatas <61163577+dogukankaratas@users.noreply.github.com >
Co-authored-by: Claire Kuang <kuang.claire@gmail.com >
2025-09-02 11:39:36 +02:00
Jedd Morgan
ee32f320ee
Workaround for rhino materials ( #1058 )
2025-09-01 18:50:34 +03:00
Björn Steinhagen
57ede4cabd
fix(revit): preserve selection intent while maintaining dynamic filter behavior ( #1054 )
...
* fix: poc hackady hack-hack
* docs: comments
* refactor: simpler
2025-09-01 11:09:28 +02:00
Björn Steinhagen
e4b26c92fd
feat: publish blocks respecting hidden objects ( #1057 )
2025-08-29 15:10:42 +02:00
Björn Steinhagen
9f99cb593f
fix(revit): improve error messages when publishing fails ( #1053 )
...
* chore: some more descriptive logging?
* feat: display the message
* chore: updated comment
2025-08-28 14:48:04 +02:00
Adam Hathcock
df4c065dfe
fix(all) Progress the final sqlite message....can still take a while ( #1042 )
...
* Progress the final sqlite message....can still take a while
* Update SDK to alpha for testing
* fixes speed tests
* Add more tests from AI
* add more detail to progress message
* Fixed tests to make sense
* Update SDK to 3.5.2
2025-08-28 09:48:33 +00:00
Adam Hathcock
4d9411de42
fix(revit): Revit files persist model card data to a file like Tekla instead of into the file ( #1045 )
...
* Revit files persist model card data to a file like Tekla instead of into the file
* fmt
* fixes logger
* Update Connectors/Revit/Speckle.Connectors.RevitShared/HostApp/RevitDocumentStore.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-26 16:31:48 +01:00
bimgeek
62a0cb895d
pasha bjorns comments
2025-08-24 17:56:21 +03:00
bimgeek
15425c5328
no need for 2 db queries
2025-08-22 15:12:33 +03:00
bimgeek
7c645e3c51
collector disposal
2025-08-22 15:05:35 +03:00
bimgeek
795d068175
exclude parts from view filter
2025-08-22 14:57:43 +03:00
Björn
cd6888868e
fix: flickering, dynamic outputs and docstrings
2025-08-21 10:10:07 +02:00
Björn Steinhagen
a92b88f6d3
fix: replace list access with progressive field discovery in deconstruct component
2025-08-21 08:19:10 +02:00
Björn
46e7d6e432
chore: re-add comments
2025-08-19 17:04:12 +02:00
Björn
b9f4845fa7
feat: handle multiple inputs
2025-08-19 16:49:20 +02:00
Björn
36863efc5a
refactor: update SolveInstance to collect multiple input objects
2025-08-19 16:01:41 +02:00
Björn
a0ce883a3f
feat: DeconstructSpeckleParam input to accept multiple objects
2025-08-19 15:48:25 +02:00
Jedd Morgan
279e900105
feat(file_import)!: .NET job processor ( #992 )
...
* First Pass
* commit transaction
* wip1
* rhino round2
* wip
* net8
* Got the importer importing!
* Refactor to separate containers
* New queuing queries
* generate solutions
* Generate solutions
* fixed tests
* Rhino headless imports
* minor fixes
* logging
* fix activity factory
* sketchup configs
* Add more logging
* Format
* Clean up the diff a bit
* relock
* delete bad launchsettings
2025-08-18 10:29:15 +00:00
Claire Kuang
ac7398be49
fix(grasshopper): fix casting issues for model objects ( #1031 )
...
* adds missing path and properties to model object casting
* slight optimization to not retrieve material twice when color is inherited from material
* enables casting of non-geometrybase geometry like points
2025-08-18 11:24:41 +01:00
Björn Steinhagen
0bfeef637b
feat(rhino): add layer mapping for revit integration ( #1027 )
...
.NET Build and Publish / build-windows (push) Has been cancelled
.NET Build and Publish / build-linux (push) Has been cancelled
.NET Build and Publish / deploy-installers (push) Has been cancelled
* feat: Add layer mapping support and rename object mapping methods
* feat: object-layer mapping detection for UI updates
* feat: add layer hierarchy mapping resolution
* refactor: unused methods
* feat: layer dropdown
* feat(rhino): add effective object resolution for layer mappings
* fix: event handling
* feat: generic model, duhh
* refactor: move records to mapper namespace
* refactor: consolidate Rhino layer and object utilities into helpers
* refactor: move `GetEffectiveObjectsForLayerMapping` to `RevitMappingResolver`
* chore: update category list (#1028 )
* fix: `ModifyAttributes` for object mapping changes
* fix: lol no need for static
* refactor: DI for helper class
* refactor: hardcoded list in dui
* fix: updating mapped layers
* fix: handle object addition events to update mappings on copy
* feat: poc (#1030 )
* fix: no static!
2025-08-15 15:16:38 +00:00
Jonathon Broughton
0b5984b410
feat(Navisworks): CNX-2238 – Add Revit interop-lite category mapping to Navisworks connector (BETA) ( #1023 )
2025-08-12 08:30:49 +01:00
Björn Steinhagen
ad1b6fd74c
feat(rhino): add vertex normals optimization setting ( #1022 )
...
* chore: create settings class
* chore: send settings
* chore: converter reacts to setting
* fix: knock-on effect
* fix: format
* fix: importer needs param
* feat: adds seperate setting for sendTextureCoordinates
* refactor: grouped setting
2025-08-08 14:13:32 +03:00
Jedd Morgan
d2ed8d3ea9
PR to prepare for rhino importer pr (cleans the diff) ( #1020 )
...
* Some changes to clean the diff
* fix build
2025-08-06 17:05:05 +01:00
Björn Steinhagen
1d8f9dd97f
feat(rhino): implement Revit category mapper for interop lite ( #1018 )
...
* feat: add `RevitBuiltInCategoryStore` for Interop Lite mapper (#1004 )
* feat: revitmapper rhino connector binding (#1016 )
* chore: `RhinoMapperBinding` class
* chore: `RhinoMapperBinding` structure
* chore: implement `GetAvailableCategories`
* chore: implement `AssignToCategory`
* refactor: common code to helper method
* chore: implement `ClearAllCategoryAssignments`
* chore: implement `GetCurrentMappings`
* chore: implement `GetObjectsByCategory`
* chore: implement event handling
* fix: compiler errors
* chore: service registration
* docs: cleanup
* fix: extend DirectShape category mapping to all geometry objects (#1017 )
* fix: filter mapper events to only mapped objects
* refactor: simplify RhinoMapperBinding following existing patterns
* chore: remove unused method
* fix: add DocumentModelStore dependency for event handling
* refactor: mapper store
* fix: list sorted alphabetically
* fix: refresh mapper table on document switch
* chore: note
* docs: note
2025-08-06 14:58:36 +03:00
Björn Steinhagen
a7c82c4958
fix(grasshopper): update workspace type to match SDK LimitedWorkspace changes ( #1015 )
...
* fix: update workspace type to match SDK `LimitedWorkspace` changes
* fix: types
* chore: SDK version bump
* chore: regenerate package lock files
2025-08-04 11:02:14 +02:00