Importing Shades from Linked Design Options

I have an architect that created some different shading options as a design option in the arch model that is linked into my mechanical model all from the ACC.

I have exposed the shade design option in my model, but when I select them and click add from selection in Pollination, nothing happens. I have also selected the linked models in the links drop down at the top but no luck.

Hi @crduggin,

If I understand correctly, you have objects that you would like to export as shade that exist in a different design option (not the primary design option).

If that’s the case, I’m afraid you’ll need to open the linked model and try to export them directly after making each design option as the primary. I know it is not ideal, but currently we only export the primary design option. :expressionless:

That being said, I know that supporting design options could be a helpful feature for many AE companies. We will get back to design options after addressing two major refactoring that we are currently working on:

  1. Support exporting linked rooms. This is almost done and we’re fixing some final bugs.
  2. Decouple and redesign the Revit plugin UI and workflow. This will take several months to complete but is a required step before we add any additional complexity to the filtering logic. We’ve built most of the infrastructure already, and we’re getting started with reworking the UI.
1 Like

The architect made what i need to export the primary design option, but the objects still will not add to pollination using add shades from selection.

2025-03-10 14:41:20.0475|FATAL|pollination_logger|System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at UIDocument.getADocument(UIDocument* )
   at Autodesk.Revit.UI.UIDocument.get_Selection()
   at Pollination.Revit.RoomManager.ContextShades.ContextShadesModel.GetShadesFromSelection()|System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at UIDocument.getADocument(UIDocument* )
   at Autodesk.Revit.UI.UIDocument.get_Selection()
   at Pollination.Revit.RoomManager.ContextShades.ContextShadesModel.GetShadesFromSelection()
1 Like

@crduggin, are you selecting the Add Shades from Links option?

If that’s the case, can you share the model with us? The easiest way to get around this issue for now would be to open the linked file and try to export the shades directly.

I only get the error that you shared above when I open a new file in Revit, when I had a different model open before. My solution has been to open a new instance of Revit before opening a new Revit model.

No, I was doing from selection.

I believe you should use the Add Shades from Links for selecting the shades from a linked model. @ksobon will correct me if I’m wrong.

That isn’t working either.

1 Like

Can you share the model with us? I can give it a try.

It’s a big boy, so that would take a bit.

I’m getting the same log error when using add from link.

2025-03-10 15:03:16.6702|FATAL|pollination_logger|System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at UIDocument.getADocument(UIDocument* )
   at Autodesk.Revit.UI.UIDocument.get_Selection()
   at Pollination.Revit.RoomManager.ContextShades.ContextShadesModel.SelectShadesFromLink(List`1 links)|System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at UIDocument.getADocument(UIDocument* )
   at Autodesk.Revit.UI.UIDocument.get_Selection()
   at Pollination.Revit.RoomManager.ContextShades.ContextShadesModel.SelectShadesFromLink(List`1 links)
2025-03-10 15:29:00.7041|INFO|pollination_logger|Ungroup All started.|
2025-03-10 15:34:20.3122|INFO|pollination_logger|Ungroup All ended.|
2025-03-10 15:34:27.5419|INFO|pollination_logger|Create Shades started.|
2025-03-10 15:34:27.6674|INFO|pollination_logger|Links were refreshed.|
2025-03-10 15:36:07.4543|FATAL|pollination_logger|Autodesk.Revit.Exceptions.InvalidOperationException: Cannot re-enter the pick operation.
   at ?A0xc9b09ad5.PerformObjectsPick(ADocument* pADoc, ObjectType objectType, Boolean bMulSel, ISelectionFilter pSelFilter, String pUserDefindStatusPrompt, IList`1 pPreSelected)
   at Autodesk.Revit.UI.Selection.Selection.PickObjects(ObjectType objectType, ISelectionFilter selectionFilter, String statusPrompt)
   at Pollination.Revit.RoomManager.ContextShades.ContextShadesModel.SelectShadesFromLink(List`1 links)|Autodesk.Revit.Exceptions.InvalidOperationException: Cannot re-enter the pick operation.
   at ?A0xc9b09ad5.PerformObjectsPick(ADocument* pADoc, ObjectType objectType, Boolean bMulSel, ISelectionFilter pSelFilter, String pUserDefindStatusPrompt, IList`1 pPreSelected)
   at Autodesk.Revit.UI.Selection.Selection.PickObjects(ObjectType objectType, ISelectionFilter selectionFilter, String statusPrompt)
   at Pollination.Revit.RoomManager.ContextShades.ContextShadesModel.SelectShadesFromLink(List`1 links)

For future reference, this was a UI issue.

After selecting Add Shades from Links you will need to select the shades and then press the small Finish button on the top left of the screen.

That should resolve the issue.