mcneel / rhino.inside-revit

This is the open-source repository for Rhino.Inside®.Revit
https://www.rhino3d.com/inside/revit/
MIT License
260 stars 67 forks source link

Runtime Error (SB 28317309) #249

Closed eirannejad closed 4 years ago

eirannejad commented 4 years ago

Ticket Info

Support Ticket

Host Info

Journal Report

Section of journal after loading Rhino.Inside.Revit (100 lines)

 Jrn.RibbonEvent "Execute external command:CustomCtrl_%CustomCtrl_%Add-Ins%Rhinoceros%CommandRhinoInside:RhinoInside.Revit.UI.CommandRhinoInside"
' 2:< ::82:: Delta VM: Avail -94 -> 134177415 MB, Used -30 -> 1134 MB, Peak +18 -> 1183 MB; RAM: Avail -44 -> 42528 MB, Used +44 -> 1182 MB, Peak +47 -> 1186 MB 
' 2:< GUI Resource Usage GDI: Avail 8984, Used 1016, User: Used 614 
'  1.929136!!! 2:!!!BIG_GAP API External Command Time 
' 2:< ::82:: Delta VM: Avail -685 -> 134176731 MB, Used +116 -> 1251 MB, Peak +67 -> 1251 MB; RAM: Avail -147 -> 42382 MB, Used +34 -> 1217 MB, Peak +31 -> 1217 MB 
' 2:< GUI Resource Usage GDI: Avail 8918, Used 1082, User: Used 1050 
'  9.599889!!! 2:!!!BIG_GAP API External Command Time 
' 2:< ::82:: Delta VM: Avail +37 -> 134176768 MB, Used -46 -> 1205 MB, Peak +2 -> 1253 MB; RAM: Avail -34 -> 42348 MB, Used +3 -> 1221 MB, Peak +4 -> 1222 MB 
' 2:< GUI Resource Usage GDI: Avail 8924, Used 1076, User: Used 1058 
' 20.946885!!! 2:!!!BIG_GAP API External Command Time 
' 2:< ::82:: Delta VM: Avail -172482 -> 134004287 MB, Used +148 -> 1354 MB, Peak +103 -> 1356 MB; RAM: Avail -139 -> 42209 MB, Used +136 -> 1358 MB, Peak +138 -> 1360 MB 
' 2:< GUI Resource Usage GDI: Avail 8686, Used 1314, User: Used 1401 
'  8.803509!!! 2:!!!BIG_GAP API External Command Time 
' 1:< ::82:: Delta VM: Avail -487 -> 134003800 MB, Used +140 -> 1494 MB, Peak +191 -> 1548 MB; RAM: Avail -138 -> 42072 MB, Used +116 -> 1474 MB, Peak +155 -> 1516 MB 
' 1:< GUI Resource Usage GDI: Avail 8688, Used 1312, User: Used 1396 
' 1:< API_SUCCESS { Registered an external server: Name(Grasshopper); VendorId(RMA); ServerId(b45a29b1-4343-4035-989e-044e8580d9cf); ServiceId(e454a471-b9f3-4cb7-96b1-bab4cf7742a6) } 
 'E 16-May-2020 09:13:30.435;   1:< 
 Jrn.MouseMove    0 ,    647 ,    165
 'E 16-May-2020 09:13:30.435;   1:< 
 ' [Jrn.RegisterExternalServer] Rvt.Attr.ExternalServer: b45a29b1-4343-4035-989e-044e8580d9cf Rvt.Attr.ExternalService: e454a471-b9f3-4cb7-96b1-bab4cf7742a6 
' 1:< API_SUCCESS { Registering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< API_SUCCESS { Registering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< API_SUCCESS { Registering DocumentChanged event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< External Command Registration Exception: Invalid long description format.
'An error occurred while parsing EntityName. Line 3, position 41. 
' 1:< API_SUCCESS { Added pushbutton Id: 6781, name: , text: Sample files, class: RhinoInside.Revit.UI.CommandSampleFiles, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6782, name: , text: APIDocs, class: RhinoInside.Revit.UI.CommandAPIDocs, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6783, name: , text: TheBuildingCoder, class: RhinoInside.Revit.UI.CommandTheBuildingCoder, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6784, name: , text: Rhino Dev Docs, class: RhinoInside.Revit.UI.CommandRhinoDevDocs, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6785, name: , text: McNeel Discourse, class: RhinoInside.Revit.UI.CommandDiscourse, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6786, name: , text: Updates, class: RhinoInside.Revit.UI.CommandCheckForUpdates, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6787, name: , text: About, class: RhinoInside.Revit.UI.CommandAbout, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6788, name: , text: Rhino, class: RhinoInside.Revit.UI.CommandRhino, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6789, name: , text: Preview, class: RhinoInside.Revit.UI.CommandRhinoPreview, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6790, name: , text: Python, class: RhinoInside.Revit.UI.CommandPython, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6791, name: , text: Grasshopper, class: RhinoInside.Revit.UI.CommandGrasshopper, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6792, name: , text: Player, class: RhinoInside.Revit.UI.CommandGrasshopperPlayer, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6793, name: , text: Off, class: RhinoInside.Revit.UI.CommandGrasshopperPreviewOff, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6794, name: , text: Wireframe, class: RhinoInside.Revit.UI.CommandGrasshopperPreviewWireframe, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6795, name: , text: Shaded, class: RhinoInside.Revit.UI.CommandGrasshopperPreviewShaded, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6796, name: , text: Recompute, class: RhinoInside.Revit.UI.CommandGrasshopperRecompute, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6797, name: , text: Bake Selected, class: RhinoInside.Revit.UI.CommandGrasshopperBake, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Registering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
' 1:< API_SUCCESS { Added pushbutton Id: 6798, name: , text: Sample 1, class: RhinoInside.Revit.Samples.Sample1, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6799, name: , text: Browse..., class: RhinoInside.Revit.Samples.Sample4+Browse, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 1:< API_SUCCESS { Added pushbutton Id: 6800, name: , text: Sample 8, class: RhinoInside.Revit.Samples.Sample8, assembly: %APPDATA%\Autodesk\Revit\Addins\2018\RhinoInside.Revit\RhinoInside.Revit.dll } 
' 0:< ::84:: Delta VM: Avail +127 -> 134003928 MB, Used -41 -> 1454 MB; RAM: Avail +27 -> 42100 MB, Used -38 -> 1437 MB 
' 0:< GUI Resource Usage GDI: Avail 8688, Used 1312, User: Used 1396 
' 45.315397   1:<<API External Command Time 
'H 16-May-2020 09:13:30.630;   0:< 
Jrn.Data "APIStringStringMapJournalData"  _
        , 0
 ' 0:< ::84:: Delta VM: Avail -31 -> 134003898 MB, Used +24 -> 1478 MB; RAM: Avail -6 -> 42094 MB, Used +28 -> 1465 MB 
 ' 0:< GUI Resource Usage GDI: Avail 8682, Used 1318, User: Used 1402 
 'E 16-May-2020 09:13:33.804;   0:< 
 Jrn.LButtonDown    1 ,    215 ,    208
 ' 0:< Candidates (curIdx = -1):  
 'E 16-May-2020 09:13:33.840;   1:< 
 Jrn.MouseMove    1 ,    215 ,    208
 'E 16-May-2020 09:13:33.840;   1:< 
 Jrn.RibbonEvent "ComboCurrentChangedEvent:CustomCtrl_%CustomCtrl_%Rhinoceros%Grasshopper%Category:"
 'E 16-May-2020 09:13:33.843;   1:< 
 Jrn.RibbonEvent "ComboCurrentChangedEvent:CustomCtrl_%CustomCtrl_%Rhinoceros%Grasshopper%Category:"
' 1:< API_SUCCESS { Unregistering Idling event by application Rhino.Inside (02eff7f0-4921-4fd3-91f6-a87b6ba9bf74). } 
 'E 16-May-2020 09:13:33.861;   0:< 
 Jrn.LButtonUp    0 ,    215 ,    208
 ' 0:< Candidates (curIdx = -1):  
 'E 16-May-2020 09:13:34.503;   0:< 
 Jrn.MouseMove    0 ,    347 ,    292
 'E 16-May-2020 09:13:34.503;   0:< 
 Jrn.MButtonDown   16 ,    347 ,    292
 'E 16-May-2020 09:13:34.670;   0:< 
 Jrn.MouseMove   16 ,    368 ,    291
 'E 16-May-2020 09:13:34.670;   0:< 
 Jrn.MButtonUp    0 ,    368 ,    291
 ' 0:< ::93:: Delta VM: Avail -19 -> 134003879 MB, Used +44 -> 1522 MB; RAM: Avail +0 -> 42095 MB, Used +0 -> 1466 MB 
 ' 0:< GUI Resource Usage GDI: Avail 8685, Used 1315, User: Used 1399 
 'H 16-May-2020 09:13:34.677;   0:< 
 Jrn.Data "ViewManipPanFlag"  _
         , 1
 'H 16-May-2020 09:13:34.677;   0:< 
 Jrn.Directive "ProjToPage"  _
         , "[Family1]", "Floor Plan: Ref. Level" _
         , 2127.19032518609129 _
         , 2127.19032518609129, 0.00000000000000, 0.00000000000000 _
         , 0.00000000000000, 2127.19032518609129, 0.00000000000000 _
         , 0.00000000000000, 0.00000000000000, 2127.19032518609129 _
         , 631.00000000000045, -580.50000000000057, 0.00000000000000
 'H 16-May-2020 09:13:34.677;   0:< 
 Jrn.Data "ViewManipZoomFlag"  _
         , 0
 'H 16-May-2020 09:13:34.677;   0:< 
 Jrn.Data "ViewManipRotateFlag"  _
         , 0
 ' 0:< ::93:: Delta VM: Avail +17 -> 134003897 MB, Used -44 -> 1478 MB; RAM: Avail +1 -> 42096 MB, Used +1 -> 1467 MB 
 ' 0:< GUI Resource Usage GDI: Avail 8686, Used 1314, User: Used 1398 
 'E 16-May-2020 09:13:39.844;   0:< 
 Jrn.MouseMove    0 ,    395 ,    427
 'E 16-May-2020 09:13:39.844;   0:< 
 Jrn.Wheel      0 , -120 ,   1170 ,    599

Console Log

(0.0000) - Since Last Record = 0.0000 (%0.00) - Create Stopwatch
(0.0060) - Since Last Record = 0.0060 (%0.02) - Pre-initialize .net
(1.4700) - Since Last Record = 1.4640 (%3.71) - Post-initialize .net
(9.8930) - Since Last Record = 8.4230 (%21.37) - after create and load AppSettings
(9.8940) - Since Last Record = 0.0010 (%0.00) - before CRhWGLExtensions::InitWGLExtensions()
(10.1930) - Since Last Record = 0.2990 (%0.76) - after CRhWGLExtensions::InitWGLExtensions()
(10.2020) - Since Last Record = 0.0090 (%0.02) - construct CMainFrame
(10.5430) - Since Last Record = 0.3410 (%0.86) - after load CMainFrame
(33.7900) - Since Last Record = 23.2470 (%58.97) - after initialize license manager
(33.8000) - Since Last Record = 0.0100 (%0.03) - after loading of cursor resources
(33.8300) - Since Last Record = 0.0300 (%0.08) - after RegisterBuiltInCommands()
(35.2340) - Since Last Record = 1.4040 (%3.56) - Pre auto load plugins
(35.2790) - Since Last Record = 0.0450 (%0.11) - Toolbars
(35.2820) - Since Last Record = 0.0030 (%0.01) - RDK:CRhRdkRhinoPlugIn CTOR
(35.2840) - Since Last Record = 0.0020 (%0.01) - RDK:OnLoadPlugIn
(35.2870) - Since Last Record = 0.0030 (%0.01) - RDK:Initialize: start
(35.2870) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after default registered properties
(35.2980) - Since Last Record = 0.0110 (%0.03) - RDK:Initialize: after default post effect plug-in factories
(35.2990) - Since Last Record = 0.0010 (%0.00) - RDK:Initialize: after adding internal extensions
(35.2990) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after conduits
(35.3140) - Since Last Record = 0.0150 (%0.04) - RDK:Initialize: end
(35.3140) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn: after RDK Initialize
(35.3140) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn: after RDK OnLoadRhinoPlugIn
(35.3140) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn - end
(35.3450) - Since Last Record = 0.0310 (%0.08) - Renderer Development Kit
(35.5090) - Since Last Record = 0.1640 (%0.42) - Commands
(35.8120) - Since Last Record = 0.3030 (%0.77) - Snapshots
(36.1290) - Since Last Record = 0.3170 (%0.80) - Rhino Render
(36.3640) - Since Last Record = 0.2350 (%0.60) - RDK_EtoUI
(36.6380) - Since Last Record = 0.2740 (%0.70) - Renderer Development Kit UI
(36.9620) - Since Last Record = 0.3240 (%0.82) - RhinoCycles
(37.2750) - Since Last Record = 0.3130 (%0.79) - 3Dconnexion 3D Mouse
(37.5730) - Since Last Record = 0.2980 (%0.76) - Displacement
(37.6690) - Since Last Record = 0.0960 (%0.24) - after create TabbedDockBarCollection
(37.6700) - Since Last Record = 0.0010 (%0.00) - after load default render engine
(37.6700) - Since Last Record = 0.0000 (%0.00) - after CloseAllDocuments
(37.6700) - Since Last Record = 0.0000 (%0.00) - before LoadToolBarsAndRestoreDockBarPositionAndStates
(37.6720) - Since Last Record = 0.0020 (%0.01) - Start of C# LoadToolBarFiles
(37.7410) - Since Last Record = 0.0690 (%0.18) -   - LoadToolBarFiles step 1
(38.0450) - Since Last Record = 0.3040 (%0.77) -   - Start TryLoadRuiFile: %APPDATA%\McNeel\Rhinoceros\7.0\UI\default.rui
(38.6880) - Since Last Record = 0.6430 (%1.63) -   - END TryLoadRuiFile
(38.6880) - Since Last Record = 0.0000 (%0.00) -   - LoadToolBarFiles step 2
(38.7050) - Since Last Record = 0.0170 (%0.04) - End of C# LoadToolBarFiles
(38.7050) - Since Last Record = 0.0000 (%0.00) - after  m_pCallbacks->LoadToolBarFiles
(38.7050) - Since Last Record = 0.0000 (%0.00) - after RunLoadToolbars
(38.8580) - Since Last Record = 0.1530 (%0.39) - after RunPostLoadToolBarsAndRestoreDockBarPositionAndStates
(38.8580) - Since Last Record = 0.0000 (%0.00) - after LoadToolBarsAndRestoreDockBarPositionAndStates
(38.8580) - Since Last Record = 0.0000 (%0.00) - before Process Shell Commands
(38.9290) - Since Last Record = 0.0710 (%0.18) - after Process Shell Commands
(39.4220) - Since Last Record = 0.4930 (%1.25) - CRhStopWatch::ShowReport()

Third-party Addons

⚠️ shows addons with known conflicts Addon data not collected

eirannejad commented 4 years ago

Moved to https://github.com/mcneel/rhino.inside-revit/issues/248