BHoM / Speckle_Toolkit

GNU Lesser General Public License v3.0
10 stars 2 forks source link

Support for CustomObjects #77

Closed rwemay closed 4 years ago

rwemay commented 4 years ago

Description:

@alelom , apologies, assume covered by another issue/PR, but thought I'd raise here in the interest of reporting whilst I'm looking at the adapter (looking great!). I've tested pull/push bar, and custom object and bar works but custom object doesn't (with two text properties). Error message on push below (strange as I'm pushing a bar!).

  1. This component failed to run properly.
    • Error: The best overloaded method match for 'BH.Engine.Speckle.Compute.BHoMRepresentation(BH.oM.Structure.Elements.Bar, BH.oM.Speckle.SpeckleDisplayOptions)' has some invalid arguments
    • Occured in BH.Engine.Speckle.Compute.SpeckleRepresentation(IBHoMObject bhomObject, SpeckleDisplayOptions displayOptions) called from BH.Adapter.Speckle.SpeckleAdapter.Create(IBHoMObject bhomObject, SpecklePushConfig config)
    • Are you sure you have the correct type of inputs? Check their description for more details.

image