Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NX 11 Journal - 'Groups' of Associated Section Curves

Status
Not open for further replies.

jmarkus

Mechanical
Jul 11, 2001
377
Hi,

I've got a journal which creates a SectionCurve feature (multiple sections cut normal to a curve), with associativity turned on using SectionCurveBuilder. I would like to be able to identify the resulting groups of curves that _would have_ been created if associativity was turned off and I used the "Group Objects" option. Another way to look at it is that I would like to be able to identify curves belonging to each plane that was used for sectioning.

I don't want to turn associativity off, though, because I want the model to stay parametric for future changes. Each group in the section curve result would be a set of closed curves - if that helps.

How can I programmatically select these closed curve 'groups'?

Thanks,
Jeff
 
Replies continue below

Recommended for you

I suppose you could get the section planes and all section curves from the SectionCurveBuilder. Measure the distance between each curve and each plane. If the distance is zero(within modeling tolerance) the curves belong to that particular plane.


Suresh
 
I've thought about that. Since I'm interested in closed curves I've also looked at a routine that checks the distance between the end of one curve to the beginning of another. The concern I have with any of these methods is that they are intensive and the more curves I have, the longer it takes to sort them.

I was hoping there was some NXOpen functions that could identify the properties I am looking for...or even some way to capture the 'groups' while the SectionCurveBuilder is executing.

Jeff
 
I ended up modifying the code "SORT_SELECTED_CURVES_INTO_CHAINS.c" found on GTAC.

That worked for me!

Jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor