Accessing Rhino 6 via Excel VBA, Rhino.Interface.6


I’m trying to externally access a Rhino 6 from Excel following the example (External Access):
Dim rh As Object
Set rh = CreateObject(“Rhino.Interface.6”)

The result is:
-2147023782 (8007045a) runtime error: Automation error.

I can’t find the cause.

Thank you!

Hi @Sarai,

Can you run Rhino’s SystemInfo command and post the results here?


– Dale

Hi Dale,

Here the results:

Rhino 6 SR14 2019-5-7 (Rhino 6, 6.14.19127.17141, Git hash:master @ 5b633aaa430941b76f5789a0ce3bb670ce06947a)
License type: Comercial, revisión 2019-05-07
License details: Stand-Alone

Windows 10.0 SR0.0 or greater (Physical RAM: 16Gb)
Machine name: OT-10

Non-hybrid graphics.
Primary display and OpenGL: NVIDIA GeForce GT 705 (NVidia) Memory: 1GB, Driver date: 3-23-2018 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 391.35

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: On
  Redraw scene when viewports are exposed: On
  Anti-alias mode: 4x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: Height
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 3-23-2018
  Driver Version:
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 1 GB

Rhino plugins
  C:\Program Files\Rhino 6\Plug-ins\Commands.rhp	"Commands"	6.14.19127.17141
  C:\Program Files\Rhino 6\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 6\Plug-ins\RhinoRender.rhp	"Rhino Render"	
  C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	6.14.19127.17141
  C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp	"Renderer Development Kit UI"	
  C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins\PanelingTools (6caed836-bc06-4ebc-b1fd-e10886a0dc94)\2018.12.17.906\PanelingTools.rhp	"PanelingTools"	
  C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	6.14.19127.17141
  C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	6.14.19127.17141
  C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp	"Displacement"

Thank you!!
– Sarai

Hi @Sarai,

Your 21 service releases behind, as the latest (and last) service of Rhino 6 is SR35.

– Dale


Thank you Dale. Is there any way I can continue working with this version and access Rhino?


Hi Sarai -

Just to get a bit more background on the issue that you are having… Why would you want to do that?

1 Like

Hi Wim,
I’ve just started working with Rhino. The computer I use was used by another person before me and it has several buttons (created by that person) that I’d like to mantain.


Hi Sarai -
Note: I have no clue about your initial post and don’t know why Dale mentioned SR35.
That said,

Updating to 6.35 shouldn’t come in the way of doing that.