RhinoWIP new Update (RhinoInside.Revit.ActiveDBDocument.ActiveView giving Null )

Hi,
RhinoWip got expired today so I Updated RhinoWIP and now
RhinoInside.Revit.ActiveUIDocument.ActiveView giving me null value causing problem for importing .sat files. with earlier version of RhinoWIP it was working till yesterda.

please let me know if I am doing anything wrong. Some quick solution would be really nice to deliver submission on time.

ps. Find attached images.

Thanks!

If your intention is to access the active view of the model, always read the .ActiveUIDocument.ActiveGraphicalView instead.

Filed an issue to address this behaviour

Hi

You said you updated your Rhino WIP copy, have you updated your Rhino.Inside Revit one?
Here you can found both links https://www.rhino3d.com/inside/revit/

If updating doesn’t work, could you please tell me your Revit version?
Major.Minor please.

Thanks.

yes I updated both. I am using Revit version 2019.2.

using ActiveUIDocument.ActiveGraphicalView I am unable to import geometry.

*It is a valid file I can import manually. Revit.ActiveDocument.ActiveView from last update was working.

Thanks!

May I see the call stack?
Where are you calling this from?
Is this family opened in the Revit UI?
Here I have access to ActiveView from the Grasshopper components.

Calling from Grasshopper custom component. inside SolveInstance(IGH_DataAccess DA) method, there itself ActiveView is null.

Yes family is opened in Revit UI

Same code was working before wip got expired and then I updated RhinoInside and wip.

It should be fixed now, please update your Rhino WIP.

1 Like