Hi All,
I´m doing an application with NXOPEN .NET in order to customize a template size.
I want to move lines, notes and tabular notes and give them a new position in the same sheet, after the template has been added.
I try to use JournalIdentifier ID, but this number always change.
EXAMPLE
Try
Dim line1 As Line = CType(workPart.Lines.FindObject("ENTITY 3 14 1"), Line)
obj = line1
Dim lp As UFCurve.Line
Dim sp(2) As Double
Dim ep(2) As Double
lp.start_point = sp
lp.end_point = ep
lp.start_point(0) = 1189
lp.start_point(1) = 841
lp.start_point(2) = 0
lp.end_point(0) = 0
lp.end_point(1) = 841
lp.end_point(2) = 0
ufs.Curve.EditLineData(line1.Tag, lp)
Catch ex As Exception
' MsgBox("Borraste la Linea", MsgBoxStyle.Information)
End Try
Any help will be appreciated
Regards
I´m doing an application with NXOPEN .NET in order to customize a template size.
I want to move lines, notes and tabular notes and give them a new position in the same sheet, after the template has been added.
I try to use JournalIdentifier ID, but this number always change.
EXAMPLE
Try
Dim line1 As Line = CType(workPart.Lines.FindObject("ENTITY 3 14 1"), Line)
obj = line1
Dim lp As UFCurve.Line
Dim sp(2) As Double
Dim ep(2) As Double
lp.start_point = sp
lp.end_point = ep
lp.start_point(0) = 1189
lp.start_point(1) = 841
lp.start_point(2) = 0
lp.end_point(0) = 0
lp.end_point(1) = 841
lp.end_point(2) = 0
ufs.Curve.EditLineData(line1.Tag, lp)
Catch ex As Exception
' MsgBox("Borraste la Linea", MsgBoxStyle.Information)
End Try
Any help will be appreciated
Regards