Question

Using the Revit API how can I determine if the wall intersection(join) type is a mitred join or a butt join.

Where it is a butt join, how can I determine which wall is the butted up one?

Can I programatically change the intersection type and how might I do this using the Revit API?

Was it helpful?

Solution

On the wall object, there is a LocationCurve property. On the LocationCurve object, you will find two relevant properties:

  • ElementsAtJoin[ int end ]: Determine the elements joining at the given end.
  • JoinType [ int end ]: Determine the join type (i.e. Mitred, Butt, etc)

the JoinType is changeable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top