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 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...
Hello all:
I‘m trying to export the material applied on each body and its Catpart part number. Here is simple code I'm testing.
I believe there is something wrong on function "getmaterialonbody".Details product and error report is attached. It even make my catia crash....
Cound anyone know how...
Hello guys:
I'm creating a journal on exporting all info. from part navigator table. Specially on the items in groups. It can't record any code for "export to spreadsheet" operation
I can get all features by "for each fea as feature in workpart.features", but how to get all...