Hi everyone
I want to separate model between created by system and created by model in place(all category).
Revit API can separate it? (all category in one logic)
Thank you
Hi everyone
I want to separate model between created by system and created by model in place(all category).
Revit API can separate it? (all category in one logic)
Thank you
Hi @peerawit.ru,
You can use the Family properties node from the Genius Loci package to filter the model in place with the property IsInPlace.
Clockwork has a node also.
collect all elements and use this api as mentioned above:
https://www.revitapidocs.com/2020.1/eb138fd5-6092-5257-e6e1-073013cb8582.htm
Hi @Alban_de_Chasteigner , @newshunhk
element = UnwrapElement(IN[0])
result = []
for e in element:
if "FamilyInstance" in str(type(e)):
result.append(e.Symbol.Family.IsInPlace)
else:
result.append(False)
OUT = result
From your recommend i think it work.
Thank you.