Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

mirror spline the spline created

Status
Not open for further replies.

mery0

Automotive
Joined
Nov 15, 2023
Messages
2
Location
JP
I want to create a mirror curve by storing all the tags of the few splines I created in an array.
Putting the contents of the create_spline array into the CurveDumbRule array results in an error. How do I fix this?


Dim create_curve(*) As Spline
create_curve(*) = CType(theWorkPart.Splines.FindObject(mytag), NXOpen.Spline)



Dim curveDumbRule(*) As NXOpen.CurveDumbRule
For i As Integer = 0 To line_count - 1
curveDumbRule(*) = theWorkPart.ScRuleFactory.CreateRuleBaseCurveDumb(create_curve) '<----- Error(curves1)
Next i
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top