Get all hole center points in a drawing using NXopen ?
Get all hole center points in a drawing using NXopen ?
(OP)
Hi All ,
How to get all the holes center points using NXOpen in a drawing file?
Regards,
Amitabh
How to get all the holes center points using NXOpen in a drawing file?
Regards,
Amitabh





RE: Get all hole center points in a drawing using NXopen ?
maybe this can also helpfull
turn on the new NX6 Hole Table creation in drafting
set the variable UGII_DRAFTING_HOLE_TABLE=1
Then you can use "Insert/Table/ Hole Table..."
best regards!
RE: Get all hole center points in a drawing using NXopen ?
I need to add notes to the holes in the drawing using NX open code.
Hence i wish to retrieve the center points of each of the holes in the drawing with respect to the drawing co-ordinate system.
Regards
RE: Get all hole center points in a drawing using NXopen ?
This is more complicated than you might think. I had designed some software for a client who had the same wishes.
There are multiple points you need to consider:
What exactly is a "hole"? This is a vague term; NX works with features. Therefore, a SUBTRACT feature with a cylindrical form could be considered a hole. So are holes created with the NX hole feature, which consequently have their own types. In addition, you might have to think about holes created using instance geometries, holes created in circular / linear patterns, hole series, etc..
Most features (not ALL!) have locations. SUBTRACT features, for example, do not. In this case you will need to determine the circular edges which belong to this feature, for example.
From your hole locations you will need to map them to the view for which you want to create the labels.
Marc
NX Software Developer
RE: Get all hole center points in a drawing using NXopen ?
CODE -->
Regards
Frank Swinkels
RE: Get all hole center points in a drawing using NXopen ?
Thanks once again.
Amitabh