Split Geometry function like in Dynamo

Split Geometry function like in Dynamo

zefreestijl
Advocate Advocate
445 Views
2 Replies
Message 1 of 3

Split Geometry function like in Dynamo

zefreestijl
Advocate
Advocate

Hi, I've been searching for a way to cut a planar face with multiple lines,

 

in Dynamo there's a node called Geometry.Split,

which can be used to cut geometries between solids, surfaces and curves,

 

but in Revit API it seems there's only utilities for solid operation,

is there a way to handle the not -element-based geometries via Revit API?

 

Thanks in advance.

0 Likes
446 Views
2 Replies
Replies (2)
Message 2 of 3

architect.bim
Collaborator
Collaborator

Hi!

It all depends on what you then want to do with the result? Face in Revit API should refer to some solid. What do you need the Face in the output for? The result of intersecting a planar face and lines is just a collection of points (lines). You don't have to use the Split method to get them. And in fact, as far as I know, there is no such method in Revit API. But there are Face.Intersect and Face.Project methods, for example. They may be quite enough to solve your problem.


Maxim Stepannikov | Architect, BIM Manager, Instructor
0 Likes
Message 3 of 3

zefreestijl
Advocate
Advocate

Hi, thanks for the reply,

 

my attention was to create a UV gridlines to split surface into each small parts,

I'll try getting the intersection of UV's

then use those points to project to the surface as you mentioned,

and then create the small parts individually by those projected points.

 

thanks again for your help

 

0 Likes