Hi,
I would like to isolate in a view all my in place instances.
I tried to use the clockwork node (isinplace) but I get some null values before the node so I’m not sure I’m doing well.
Does anybody know how to find them. Any other alternative?
Hi,
I would like to isolate in a view all my in place instances.
I tried to use the clockwork node (isinplace) but I get some null values before the node so I’m not sure I’m doing well.
Does anybody know how to find them. Any other alternative?
Hello @JC.Moreno
try this version (with ElementType and FamilyType.Family nodes)
Hi @c.poupin,
I’ve tried it but I get some null values. I don’t understand why. I tested in 3 different ways.
Because the family system does not have a “Family” property (via FamilySymbol), (floors and walls are System families, an in-place element is a FamilyInstance)
try this way with Python
import clr
clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *
def isInPlace(item):
if isinstance(item, FamilyInstance):
fam = item.Symbol.Family
return fam.IsInPlace
return False
lstElems = UnwrapElement(IN[0])
OUT = [isInPlace(e) for e in lstElems]
Hi @c.poupin,
That works perfect. Thank you very much.
Thanks for the code.
I made this in-place model element checker with it.