×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How can I find lines & notes in a Drawing template in order to change their positions using NXOp

How can I find lines & notes in a Drawing template in order to change their positions using NXOp

How can I find lines & notes in a Drawing template in order to change their positions using NXOp

(OP)
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

RE: How can I find lines & notes in a Drawing template in order to change their positions using NXOp

Can you name the objects before you create the journal, then in the journal instead call the existing names to select ?

Regards,
Tomas

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources