Detect walls with modified profiles

Detect walls with modified profiles

Anonymous
Not applicable
4,695 Views
29 Replies
Message 1 of 30

Detect walls with modified profiles

Anonymous
Not applicable

I'm tasked with auditing a model we've received and a lot of the walls have modified profiles. I was wondering if it is possible to somehow select all the walls that have a modified profile and none of the regular 'rectangular walls?

 

I do have Ideate Explorer at my disposal, but could not find this particular parameter.

0 Likes
Accepted solutions (1)
4,696 Views
29 Replies
Replies (29)
Message 21 of 30

Anonymous
Not applicable

@ToanDNIf anything I think it is because we are using an older version of Dynamo at the office (2.0.3.0, core 1.3.4.6666).

 

I used Revit in English today, uninstalled all packages and reinstalled all the newest: same result.

 

The only thing I can think of that is not in order is the old Dynamo version.

0 Likes
Message 22 of 30

ToanDN
Consultant
Consultant
My Dynamo version is the same as yours (2.0.3.0, core 1.3.4.6666) and it runs fine.

Can you share a screenshot of the warning popped up on the nodes after an execution? They will tell you what the errors are.
0 Likes
Message 23 of 30

Anonymous
Not applicable

@ToanDNThe main problem is that I cannot ge the node to show up at all to even put it in a formula. When I search for SPRING, nothing comes up. If I understand correctly, I need the 'Springs.collector.ElementSketch', but I cannot obtain it.

 

Spring.jpg

 

Also, when I install Springs, it tells me that it is using a newer version of Dynamo, which is why I was thinking this was the problem.

0 Likes
Message 24 of 30

Yien_Chao
Advisor
Advisor

i start with the idea of section profil of wall not elevation Profile (what you are looking for in presume).

it has to be by the RevitIFCDLL librairie.. i'll check and let you know.

Message 25 of 30

Yien_Chao
Advisor
Advisor

ok let's resume.

 

i made a python to get ONLY walls modified manuallly.

The IFC.ExporterIFCUtils.HasElevationProfile() is the function to use.

 

basically, if you look a the image, only the last 2 will be output, the others modification are drive by another element.

is that what you are looking for?wall modification.jpg

0 Likes
Message 26 of 30

Anonymous
Not applicable

@Yien_ChaoThat is exactly what I am looking for. I basically want to catch every time users made a sketch, because I consider it bad practice (bad for wall joining, level relationship, etc). This is for my model audit workflows.

0 Likes
Message 27 of 30

Yien_Chao
Advisor
Advisor

try this 🙂

 

# Yien Chao 2019
import clr

#IFC.ExporterIFCUtils


# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
from System.Collections.Generic import *

#import ifc dll
clr.AddReference("RevitAPIIFC")

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *
uiapp = DocumentManager.Instance.CurrentUIApplication
app = uiapp.Application


doc = DocumentManager.Instance.CurrentDBDocument
collector = FilteredElementCollector(doc)
filter = ElementClassFilter(Wall)
elements = collector.WherePasses(filter).ToElements()

OUT =  [i for i in elements if Autodesk.Revit.DB.IFC.ExporterIFCUtils.HasElevationProfile(i)]
0 Likes
Message 28 of 30

Anonymous
Not applicable

Hi @Yien_Chao, this comes out as NULL on my end in the Watch window

 

Using Revit 2019.2 and Dynamo 1.3.4.666

0 Likes
Message 29 of 30

Yien_Chao
Advisor
Advisor

can't say..i works fine here.

send your revit file?

0 Likes
Message 30 of 30

Yien_Chao
Advisor
Advisor

Oh im on Revit 2020 and the latest dynamo.

0 Likes