Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Geometry intersect

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
Anonymous
5666 Views, 6 Replies

Geometry intersect

Anonymous
Not applicable

Hi, 

Can i have implemented this Dynamo script in Revit API?

 

Geometry intersect

Hi, 

Can i have implemented this Dynamo script in Revit API?

 

Tags (1)
6 REPLIES 6
Message 2 of 7
Revitalizer
in reply to: Anonymous

Revitalizer
Advisor
Advisor
Accepted solution

Hi,

 

first thought: no, you cannot.

There are supported intersections between Solids and Curves, Faces and Curves, Curves and Curves, Faces and Faces.

But no Solid-Face intersection.

 

Second thought: hey, you could workaround it.

Get the boundary curves of your face, do Solid-Curve intersections, collect the resulting curves.

Or get the faces of your solid, do Face-Face intersections, collect the resulting curves.

But how to get the area of these curves, as they could consist of several rings or describe a spherical surface...

 

Third idea: if Dynamo is open source, you could read the code, find the relating geometric function and try to call it from your own addin.

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





Hi,

 

first thought: no, you cannot.

There are supported intersections between Solids and Curves, Faces and Curves, Curves and Curves, Faces and Faces.

But no Solid-Face intersection.

 

Second thought: hey, you could workaround it.

Get the boundary curves of your face, do Solid-Curve intersections, collect the resulting curves.

Or get the faces of your solid, do Face-Face intersections, collect the resulting curves.

But how to get the area of these curves, as they could consist of several rings or describe a spherical surface...

 

Third idea: if Dynamo is open source, you could read the code, find the relating geometric function and try to call it from your own addin.

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





Message 3 of 7
jeremytammik
in reply to: Revitalizer

jeremytammik
Autodesk
Autodesk

Dynamo IS open source, totally!



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Dynamo IS open source, totally!



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 4 of 7
htlcnn
in reply to: jeremytammik

htlcnn
Enthusiast
Enthusiast

Not all of Dynamo parts are opensource. ProtoGeometry is one of them.

0 Likes

Not all of Dynamo parts are opensource. ProtoGeometry is one of them.

Message 5 of 7
BIM_S_S
in reply to: jeremytammik

BIM_S_S
Participant
Participant

I have 2 geometry elements and i can't get intersection geometry please help

0 Likes

I have 2 geometry elements and i can't get intersection geometry please help

Message 6 of 7
Anonymous
in reply to: BIM_S_S

Anonymous
Not applicable

You can use the "DoesIntersect" from Dynamo's ProtoGeometry.dll.

Autodesk.DesignScript.Geometry.Geometry.DoesIntersect(Autodesk.DesignScript.Geometry.Geometry)

0 Likes

You can use the "DoesIntersect" from Dynamo's ProtoGeometry.dll.

Autodesk.DesignScript.Geometry.Geometry.DoesIntersect(Autodesk.DesignScript.Geometry.Geometry)

Message 7 of 7
htlcnn
in reply to: Anonymous

htlcnn
Enthusiast
Enthusiast

It does not work when you reference ProtoGeometry.dll outside Dynamo environment.

It does not work when you reference ProtoGeometry.dll outside Dynamo environment.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report