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!

How To Select Connected/Tangent Curves with Journal ? 1

Status
Not open for further replies.

lexus911

Automotive
Jan 18, 2018
13
Hi all,

This code only select single curve ?

Code:
 Function SelectCurves(ByRef prompt As String) As Curve() Dim selected() As TaggedObject = Nothing NXOpen.UI.GetUI.SelectionManager.SelectTaggedObjects("Select Curves", prompt, Selection.SelectionScope.WorkPart, False, New NXOpen.Selection.SelectionType() {Selection.SelectionType.Curves}, selected) Dim curveList As Collections.Generic.List(Of Curve) = New Collections.Generic.List(Of Curve) For Each aCurve As NXObject In selected curveList.Add(aCurve) Next Return curveList.ToArray() End Function]


2018-07-05_16-49-59_gn2bno.png


Could you help me to modify the code to select "connected curves or tangent curve " ?

Thank you very much

 
Replies continue below

Recommended for you

yes, this is my situation, i need to change to select connected curves because i think it can be limit some point that I do not want to create

 
You can get the information to generate a Webkey from your license file. Or you can goto File -> Help-> About NX
In the system info window, you'll find your Server ID and Webkey Access Code.

You may have to contact your IT people to make one for you if your employer blocks this.
 
lexus911 said:
yes, this is my situation, i need to change to select connected curves because i think it can be limit some point that I do not want to create

No. Your situation is that you have unconnected curves that you need to clean up to make them into connected curves. Perhaps you could increase the gap tolerance to force NX to see them as connected, but that may well cause other problems downstream.

www.nxjournaling.com
 
robnewcomb said:
You can get the information to generate a Webkey from your license file. Or you can goto File -> Help-> About NX
In the system info window, you'll find your Server ID and Webkey Access Code.

You may have to contact your IT people to make one for you if your employer blocks this.

i did it , thank you very much
 
cowski said:
No. Your situation is that you have unconnected curves that you need to clean up to make them into connected curves. Perhaps you could increase the gap tolerance to force NX to see them as connected, but that may well cause other problems downstream.

thank you, i tried to joint all curve to 1 spline , it work, I fixed about 98% of the wrong point

Capture_pgkxce.png
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor