Wall Layer References- How to check if they are intersecting

Hi,
Im trying to verify which references of wall are intersecting ( or lay on the same “line” ). Its really hard to get some information ( vector ? ) from Autodesk.Revit.DB.Reference ( Revit, Dynamo 2022 ). Im trying to verify it- it makes some problems when i want to set dimensions for walls which are next to each other.
Best regards,
Kamil

Why not just get the location line and check for overlap there? The reference may not always be a good representation of the actual geometry anyway.

please find out picture below: I would like to delete one reference from list of references for dimension line. We have two walls (structure and insulation )

Ah. That additional context changes everything. You need to get the dimensions referencing those walls then, not the wall layer references, and see if you have overlap.

Does this represent two dimensions with an overlap or one dimension with unique but overlapping references? They are two different scenarios requiring two different approaches.

I would like to get from this example just three reference. Now, i have four references for node dimension by line and reference. It would ge great to get planes from references but i dont see this option in Revit Api list for reference methods :frowning:

Hi @KamilR not sure if it could help,but you can remove reference this way here with dimension properties from genius loci…

1 Like

Thank You @sovitek - this idea is great. I got some problems with node Dimension Properties (in some cases it gave me no vales for some dimensions ). Instead of it, I use python formulas to get only values and references.