Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

mirror spline the spline created

Status
Not open for further replies.

mery0

Automotive
Nov 15, 2023
2
0
0
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.
Back
Top