Solid3d.CheckInterference - overload with other entities, e.g. surface

Solid3d.CheckInterference - overload with other entities, e.g. surface

Anonymous
Not applicable
1,340 Views
2 Replies
Message 1 of 3

Solid3d.CheckInterference - overload with other entities, e.g. surface

Anonymous
Not applicable

Hi,

I would like to check the interference between a 3DSolid and a LoftedSurface. Is there any possibilty to do this via .NET?

I know about the method Solid3d.CheckInterference(...) but there is only one possible parameter which is another 3DSolid. But the AutoCAD command INTERFERE which obviously is the basis for that method seems to accept several other object types than just 3DSolids.

Therefore I'd say it would be quite logical to have an overloaded method which accepts several other object types as parameters, not just 3DSolids.

Many thanks in advance.

0 Likes
Accepted solutions (1)
1,341 Views
2 Replies
Replies (2)
Message 2 of 3

Virupaksha_aithal
Autodesk Support
Autodesk Support
Accepted solution

Hi,

 

Can you try using Surface.createInterferenceObjects() passing solid ? This API can take solids/surface as inputs.

 



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

Anonymous
Not applicable

Thank you very much for your answer.

This method works. I can use X.CreateInterferenceObjects() with X= LoftedSurface and X= PlaneSurface with a Solid3d object as parameter.

As the Entity.IntersectWith() method works neither with LoftedSurface, PlaneSurface nor with Solid3d this seems to be a good alternative.

 

But why is there virtually no documentation on Surface.CreateInterferenceObjects()?! It's definitely not listed here: http://help.autodesk.com/view/OARX/2018/ENU/?guid=OREFNET-__MEMBERTYPE_Methods_Autodesk_AutoCAD_Data...

Can you please see to it that a proper documentation is added? The method wants a flag (integer) as parameter and I have no idea what that flag is or what any of the options are.

 

The absence of the documentation on this method in the autocad 2018 documentation which works fine in autocad 2017 (which I am using currently) makes me wonder which other methods are missing in the documentation. I thought until today that the api is documented quite well...