Perimeter of Material

I need to know the PERIMETER of a material.
Or, the PERIMETER of the surface, that has some material.

In this example… i have a PINK MATERIAL

PINK MATERIAL AREA = 8m²

I can get it, using Element.Materials+, from CLOCKWORK.

But, i need

PINK MATERIAL PERIMETER = 12m

Any idea?

image

The contents of the Room.Finishes node in the clockwork package will likely provide a good start point.

You could extract faces of the object and for those that have this material add lengths of their edges.
Maybe you’d also have to check for overlapping edges - depending on your geometry.

https://www.revitapidocs.com/2015/2ccb511d-b5df-8d17-bd9e-3c9aff8cf234.htm
https://www.revitapidocs.com/2015/0f496bcd-fd05-f1dc-6cc7-d496541fd6ae.htm

BUt i dont have a room …

Hi Daniel,

You can use the Element Surfaces References node that returns a surface and the OOTB Surface.Perimeter node.