diff --git a/ahb_raster_view.py b/ahb_raster_view.py index 0ac8789..929ba7b 100644 --- a/ahb_raster_view.py +++ b/ahb_raster_view.py @@ -102,6 +102,9 @@ class RasterView: if part.TypeId == 'App::Link': link.LinkedObject = part.LinkedObject link.Placement = part.Placement + elif part.TypeId == 'Part::FeaturePython' and hasattr(part, 'LinkedObject'): # variant link + link.LinkedObject = part.LinkedObject + link.Placement = part.Placement else: link.LinkedObject = part