Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Cannot specify which kit to use to convert speckle objects to Native #139

Open
1 task done
daviddekoning opened this issue Jan 14, 2020 · 0 comments
Open
1 task done
Labels

Comments

@daviddekoning
Copy link

Step 0:

Expected Behaviour

A SpeckleKit that supports multiple applications will have multiple toNative() functions for each type of object (one for each application).

The application clients should be able to specify which toNative() method to use.

Actual Behaviour

There does not appear to be any mechanism to select a particular toNative() function. SpeckleCore creates a native object using the first toNative() function that it finds, which might return a native data type for Application A to Application B.

Affected Projects

Clients that use a SpeckleKit that support multiple applications. This is popping up in SpeckleStructuralKit as we add ETABS support.

Reproduction Steps & System Config (win, osx, web, etc.)

Proposed Solution (if any)

Note that this doesn't seem to be a problem with SpeckleCoreGeometry and Revit, Dynamo and Rhino/GH. Is there a simple way to resolve this?

@nic-burgers-arup can provide further colour if required

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant