When isPreview is True you are already accessing it. that instance of the object that your code is running on IS the preview structure, it’s not a different class. You need only gate your code behind a Branch(IsPreview) and that code will only run if it is a preview instance, likewise if IsPreview is False then it’s the actual placed instance of the structure.