* Rhino uses SendOperationManagerFactory
* revit now uses it
* autocad and civil use it
* csi, tekla and NW
* add test
* formatting
* tested with rhino and revit
* formatting
---------
Co-authored-by: Oğuzhan Koral <45078678+oguzhankoral@users.noreply.github.com>
* updated converters after text class update
* fix after text class changes
* packege version bump after text calss update
---------
Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
* Don't throw exceptions but handle missing model cards and log it.
* Change another thing to not throw
* RunMain for Revit should always run on the Revit context
* add comment
* WIP
* Menu handlers for projects and models
* Extract all handlers outside
* Remove account from handlers
* Reset version count
* Add workspaces
* Introduce SpeckleOperationWizard
* Move sync ops to dev section
* Fix sdk remainings
* Organize files and namespaces
* Remove context menu setters
* Bump sdk to 3.3.0
* Get the last selected account id from config
* Add workspaces to select model component
* Handle workspaces
* Add separator at ctor
* Get rid of from last fetched collections in wizard
* Reorder public privy functions
* Bump sdk 3.3.3 for project with permissions
* Remove expire solution on account change
* Move SolveInstanceWithUrlInput to wizard
* Better state handling on search
* handle account switch
* close menu explicitly when reset
* Have workspace logo
* Don't populate menu completely after search
* Logo as prop in workspaces
* Create a workspace flow
* Bump sdk back to 3.3.3
* Fixed DI
* Fix unplug URL state
* Set icon null when reset workspace
* personal projects as workspace
* Handle project permissions over pasted URL
* Clean up the main component
* handle all errors at the top level for wizard component
* Set last used account id to config
* Change the message level to warning for accounts
---------
Co-authored-by: Adam Hathcock <adam@hathcock.uk>
* fix: ensure operations run on main thread to prevent etabsexceptions
* pr comments
* fix: ensure consistent exception handler usage in selection binding
* rhino and arc fix usage
* fix registration
* fix the rest
* use interface
* don't use rhino layer if there is no name
* formatting
* add tests
* formatting
* add to local and move
* Update OTEL to remove grpc dependency
* Fix deprecated method
* really fixed with no incremental builds for tests
* Fix references and lock
* Update nuggets
* style: user facing names for frames
* style: user facing names for shells
* styling: user facing names for proxies
* style: dict utils as extension methods
* Add PeriodicThreadedEvent to EA and use it
* All timers gone
* add tests
* bug: build issues
* bug: form not being disposed properly
* feat: remove caching
---------
Co-authored-by: Adam Hathcock <adam@hathcock.uk>
* Add PeriodicThreadedEvent to EA and use it
* All timers gone
* add tests
* bug: build issues
* bug: form not being disposed properly
---------
Co-authored-by: Björn <steinhagen.bjoern@gmail.com>
* HostAppVersion
v21 and v22 following SDK updates
* Working POC for material and section proxies
* Refactoring section unpacking
Refactoring in accordance with PropertiesExtractor example
* Material unpackers
* Notes and documentation
* More explanations
* materialId
- Interim solution for viewer filtering is appending the materialId to assignments for each object
- For FRAME this was easy
- For SHELL not so easy. No GetMaterial method avaiable given a AreaObj sectionName. Implemented lightweight materialCache based on cDatabaseTable. Marked as temporary based on previous discussions
* Explicit dictionary entries
* Repeated property strings as consts
- Fair point for repeated strings in the CsiMaterialPropertyExtractor.cs
- Even more reason to include this across all repeated strings. Categories of properties screaming out for this. Added additionally
* PR review comments
- Dictionary lookups for material and section proxies
- Only create proxies for assigned sections and materials (not pretty)
* refactor(etabs): adds singleton converter cache for material and section relationships (#514)
* This is a workaround for Revit's order of operations when initializing (#511)
* This is a workaround for Revit's order of operations when initializing
* Fix event listening
* adds a singleton cache for material and section relationships to csishared
* updating extraction results and simplifying classes
* Only allow methods on classes as opposed to anonymous lambdas for Event Subscription (#512)
* This is a workaround for Revit's order of operations when initializing
* Fix event listening
* Only allow methods on classes as opposed to anonymous lambdas
* formatting
* fix tests
* weakreference found should remove subscription
* doument model store fix (#516)
* testing commit
---------
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
Co-authored-by: Björn <steinhagen.bjoern@gmail.com>
* resolving conflicts, testing and small tweaks
- merged dev into branch
- added "type" parameter to group proxies for sections in order to distinguish between frame sections and shell sections
---------
Co-authored-by: Claire Kuang <kuang.claire@gmail.com>
Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
* Remove Dataflow usage
* format and remove dep
* merge fixes
* Fix serializer
* Add MainThreadContext
* add some main context detection
* add RevitMainThreadContext
* remove revit async?
* formatting
* use mainThreadContext
* Use more MainThreadContext
* some rearranging
* renaming
* Revit needs new run async
* merge fixes
* gather on worker, convert on main
* operations know threading but not host apps
* rhino options
* revit can receive
* autocad in progress
* need to yield for UI thread async
* revamp yield
* Found APIContext and removed it
* ArcGIS runs all workers on MCT thread
* Refactor ThreadContext and ArcGIS saving is always on a worker
* Revit threading is simplier?
* ArcGIS can not always go to the queued task
* format
* fix tekla compile errors
* Use EventAggregator to decouple exception handler and UI
* it's ALIVE
* regenerate locks
* Add Prism Evening to DUI
* clean up
* always run on background thread
* Clean up to be specific
* update etabs
* thread context
* autocad threading?
* merge fixes
* remove more async
* clean up
* fix build issues
* Do top level handling in event aggregator
* add some rhino events
* add more Rhino events and do Idle as OneTime with Id
* fix up rhino idle usages
* fmt
* can build agian
* Use valuetask
* fmt
* fix up some bridge execution to be sync
* cleanup
* add some non async paths for progress
* format
* remove needless selection
* Fixes
* Convert tekla
* selection event is used without idle
* Build fixes from merge
* Fix tests and clean up
* Add new events
* Properly dispose one time events
* Minor tekla updates