Ralph Wessel
4ff7d68516
ElementHighlighter ensures layers are visible (on request) before selecting target elements
...
Updates to allow attribute changes to be written
Workaround to force VS to recognise template specialisations
2024-11-20 21:49:47 +00:00
Ralph Wessel
d21f3da414
Prep for receive:
...
- Database transactions added for write access to model
- Attribute database write added (for layers, materials etc)
User prompted to show layers when model card selection is not visible
2024-11-20 09:15:57 +00:00
Ralph Wessel
67cbcba357
Bridge methods that set the current selection also zoom to the selection
2024-11-14 15:50:36 +00:00
Ralph Wessel
38a5254b30
docs
2024-11-08 09:51:01 +00:00
Ralph Wessel
37e04368ed
Updated VS projects
2024-11-08 09:28:33 +00:00
Ralph Wessel
7ffdc289d0
Added BaseBridge::HighlightObjects
2024-11-08 08:49:36 +00:00
David Kekesi
a6f15e9a53
review comments fixed
2024-11-06 20:34:46 +01:00
David Kekesi
e612ed1192
attaching observer to all elements is too slow, commented out for now
2024-11-06 20:18:36 +01:00
David Kekesi
ed75c2110c
Merge branch 'develop' into david/cnx-716-documentless-state-in-archicad
2024-11-06 19:44:40 +01:00
David Kekesi
96759f7e9e
very slow in a 3D view - attaching element observers to all elements
2024-11-06 19:43:01 +01:00
Ralph Wessel
4e60d95ce9
DocumentID is now generated, saved and recalled using ModelCardDatabase
2024-11-06 16:25:13 +00:00
David Kekesi
da457a3438
subscribing all elements to element events
2024-11-06 11:51:29 +01:00
Ralph Wessel
653824c498
Updated VS projects
...
GetDocumentInfo returns null if no project open
2024-11-05 17:01:51 +00:00
Ralph Wessel
bacdbc4d61
Added ConnectorProject as a container for ModelCardDatabase
...
Moved ownership of ModelCardDatabase from Addon to ConnectorProject
Tools requiring access to the model card database now need to check for an open project first and then obtain the database from it (prevents attempts to access model cards when no project is open)
2024-11-05 16:34:49 +00:00
Ralph Wessel
51ed951d7d
Added Platform::openURL to open a URL cross-platform
2024-10-30 22:54:17 +00:00
David Kekesi
4afed92ba9
view button on modelcard works
2024-10-30 19:34:27 +01:00
Ralph Wessel
3d2aab8862
Updated documentation
2024-10-24 18:06:18 +01:00
Ralph Wessel
bdea330c2e
Moved include file to implementation
...
Fixed docs typo
2024-10-24 16:50:58 +01:00
David Kekesi
72e8ea78d9
Merge branch 'develop' into david/cnx-660-document-switch-and-model-cards
2024-10-24 15:50:42 +02:00
David Kekesi
c4fcce4df8
BimElementDatabase setSelection, clearSelection implemented
2024-10-24 13:59:17 +02:00
David Kekesi
dcbd795b1f
ElementIDList moved to SpeckleLib, added setSelection method to BIMElementDatabase
2024-10-24 12:28:04 +02:00
David Kekesi
9b8ab47eab
code cleanup
2024-10-24 10:31:25 +02:00
David Kekesi
dcac8390cf
Merge branch 'develop' into david/cnx-667-model-card-highlighting
2024-10-24 09:21:40 +02:00
Ralph Wessel
8893653583
ContainerWrap should specify item tag where it differs from the default
2024-10-23 22:53:26 +01:00
David Kekesi
a5b681a6ed
added HighlightModel method
2024-10-23 15:19:52 +02:00
David Kekesi
6d14607634
bridge listens to open event instead of close
2024-10-21 16:36:39 +02:00
David Kekesi
5363819e8d
BaseBridge listens to project events
2024-10-21 16:35:30 +02:00
Ralph Wessel
72cd75d2e6
Added speckle_type and unit properties to Record, BIMRecord, Element and Mesh classes
...
Defined (de)serialisation for LengthType
2024-10-04 21:03:54 +01:00
Ralph Wessel
fdf371732b
Updated serialisation for send objects
2024-10-02 09:30:53 +01:00
Ralph Wessel
8eae1e9967
Updated VS projects
2024-10-01 18:24:33 +01:00
Ralph Wessel
8ed2abea04
Implemented skeleton of SendObject
2024-10-01 18:21:30 +01:00
Ralph Wessel
daae9fd6e3
ModelCard arguments should use CardMover
2024-09-20 23:48:19 +01:00
Ralph Wessel
b44644ad88
Bridge methods using CargoHold to return results need to allocate results in a unique_ptr (can't reference local vars that go out of scope)
2024-09-20 14:17:39 +01:00
Ralph Wessel
6e0cc4d5f3
Updated VS projects and resources
...
More document info retrieved from open project
2024-09-19 11:23:19 +01:00
Ralph Wessel
e6543fe065
Clarified DocumentInfo documentation
2024-09-19 10:31:32 +01:00
Ralph Wessel
d3c7341314
Updated Xcode project
2024-09-19 08:20:06 +01:00
Ralph Wessel
4fadcaf466
Added Project class
...
Addon class now manages an active project instance that can be accessed with getActiveProject
GetDocumentInfo now uses information extracted from the active project
Updated ProjectSubscriber and ProjectEvent accordingly
"Send" bridge method now throws exception reporting no selected elements (placeholder until we implement a real send process)
2024-09-18 15:48:20 +01:00
Ralph Wessel
e92729e10f
Added RecordID to express common ID types for Archicad
...
Added ArchicadEverythingFilter
Added ArchicadSelectionFilter
Added EverythingSendFilter
Updated SendFilter bridge method with defined filter types
Updated FilterMover with defined filter types
Implemented SendFilter::checkExpiry
Updated CardMover with ReceiverModelCard
Updated all bridge method args as const reference
2024-09-15 22:23:12 +01:00
Ralph Wessel
90211900e1
Interim commit - builds with some warnings
...
Simplication of record identifiers
Starting implementation of SenderModelCar
Implementation of SendFilters in progress
2024-09-13 11:51:40 +01:00
Ralph Wessel
850cd36d73
Added UpdateModel and RemoveModel
...
Linked new methods to baseBinding
2024-09-12 18:48:57 +01:00
Ralph Wessel
5dcab38086
Added "base.AddModel" method
...
Storage write methods
Subscriber implementations should be 'virtual Subscriber' to allow multiple inheritance
2024-09-12 18:00:22 +01:00
Ralph Wessel
d00c20f0c6
ModelCardDatabase subscribes to project/merge events
...
ModelCardDatabase can be serialised as required for GetDocumentState method
Added ProjectSubscriber
Added ProjectEvent
2024-09-11 23:11:40 +01:00
Ralph Wessel
ea3152d942
Added GetSendFilter
...
Reactivated sendBinding
2024-09-09 12:59:07 +01:00
Ralph Wessel
d1c314f2ad
Fixed JSON tags
2024-08-29 23:39:47 +01:00
Ralph Wessel
9e22d3b3b8
Added TriggerEvent test
...
Bridge functions now comply with BridgeChild interface and are populated with parent browser bridge when embedded
Some classes renamed for clarity
2024-08-29 21:23:34 +01:00
Ralph Wessel
550e9caa9c
Argument for BrowserBridge methods is stringified JSON array of stringified JSON parameters - updated to facilitate import:
...
- Classes potentially used as JS argument templates can define this state by subclassing JSArgumentBase
- JSBridgeArgumentWrap now unpacks and deserialises each stringified parameter
- Argument template state automatically applied as argument types are defined
2024-08-27 23:47:30 +01:00
Ralph Wessel
696a4ea870
Added TestBinding and implemented associated test methods
...
Added speckle::utility::Exception
Added ErrorReport for BrowserBridge method execution
JSBridgeArgument is capable of capturing error conditions for later reporting
Implemented additional exception handling and return report to JS on method execution failure
2024-08-27 16:48:42 +01:00
Ralph Wessel
d5f7d0b2a7
Updated VS projects
...
Linked GetDocumentState to baseBinding
Minor tweaks for VS compiler
2024-08-22 15:59:07 +01:00
Ralph Wessel
e5568a3f08
Implemented baseBinding (untested - fresh code)
...
Removed redundant Cloner inheritance from JS function classes
Added versioning to connector
Exposed connector() function for future access to databases related to connector operations, e.g. model cards etc
2024-08-22 15:36:37 +01:00