Thanks for your reply, I will take a try on your suggestion.
The second time I call GetMinimumDistance is to find the closest edge from the closest face.
I need both closest face and closest edge as output.
Hello everyone:
I have developed a macro to extract the closest face from a body against a 3D point.
The principle is to loop through each face and to use SPA workbench, measure and return the closest face.
I find it runs more and more slowly, because I have more than 1000 points, for example...
Hello all:
It seems that "GetMinimumDistance" will return the same result like measurement by "Any geometry, infinite". But what I want is measurement by "Any geometry"
I didn't find other solution in the forums. Do anybody know how to achieve this? See attachment.
My current solution to be...
Hello guys:
We have some developed tool which has its own tool bar in NX, these tools come from our customer.
It can gererate some information for each level of parts through a pop-out window and a button to export these info into TXT.
But there are too manys levels for whole product. So I'm...
Hello guys,
It's me again. I have developed the macro with lots of lines, points to be created by "XXX.Compute" in the background. When I delete the geo which is created based on these lines or points, I find they are still exist just not shown in the structure tree.
Is there any way to delete...
Dear all
This community is so great for rookie like me.
Have anyone ever tried to find the nearest face and edge from a body against a specific point?
I am looping through faces and edges and then measure the distance against point to find the nearest one, but it takes too much time.
is that...
Hello Cthulhu, thanks for your help always.
Have you ever tried to find the closest surface and edge from a body against a specific point?
I loop through and measure the distance, is that possible to project the point to body and idenify the projection result belongs to which surface?
Here is...
Thanks for reply
I try to describe it as detailed as I can since it is weekend,and I will get on laptop next monday
My task is to return the min width of surface ,and this width need to through a specific point on this surface.
Then I try to project a line through this point in each degree...
Thanks for your reply LWolf!
So I can't access to the edge from what I created in background in any method?
That's terrible, I have tried to update its model in 3D. It takes too much time..
I rotate and project a line in 360 degrees, means 360 projection lines will be added into my model...
Hello, Thanks for your reply. It works.
Could you help on further issue.
When I project a curve on single surface, there could be multi-result under SolutionType = 1.
I want to loop through all single curve in this hybridShapeProject1.But I failed.
If i update this geo to my model then select...
Hello all,
Here is my code:
Dim hybridShapeLineNormal1 As HybridShapeLineNormal
Set hybridShapeLineNormal1 = hybridShapeFactory1.AddNewLineNormal(reference3, reference1, -5.000000, 5.000000, False)
Set reference4 =...
Hello all:
I'm looking for a way to select the surface in sidewall/thickness by macro. Then I can run my code based on that like measure thickness or extend the boundary of part as I wish. I'm working on metal forming part which may contain one or serval thickness. Sample is attached. Do...