×
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

Brand new to NX Journaling - need help

Brand new to NX Journaling - need help

Brand new to NX Journaling - need help

(OP)
Hello all,

I am brand new to Journaling and I have no prior experience in coding. I have used NX for about 6 months so overall everything is new to me. I was given a project which requires changing the length of the stator. I used Offset Region in Synchronous Modeling and was able to change the vertical length of it by modifying the numberical value on this line(admOffsetRegionBuilder1.Distance.RightHandSide = "50").However, I am hoping to find a more robustway to do it. I would like to have a dialogue box which allows me to enter the value when I run the program. So I won't have to create another VB file for another value. Thank you for your help and any suggestion will be greatly appreciate.

Linh

RE: Brand new to NX Journaling - need help

There are many sample programs installed on your system. Take a look in Program Files\Siemens\NX 10.0\UGOPEN\SampleNXOpenApplications\.NET.

I believe you want to use NXInputBox.GetInputNumber

Mark Rief
NX CAM Customer Success
Siemens PLM Software

RE: Brand new to NX Journaling - need help

(OP)
For example, the partial code below lets me load part number 123456ABCD in revision 007. I want to be able to type those entities in the dialogue box and it will link to this journal code to load the parts as listed below. Can you show me how to do that or show me an example? Thank you so much for your help and suggestions.

Dim partLoadStatus1 As PartLoadStatus
Dim component1 As Assemblies.Component
component1 = workPart.ComponentAssembly.AddComponent("%UGMGR=V3.2 PH=0ZdJeJXvltBKvA PN=123456ABCD PRN=007 ", "MODEL", "123456ABCD", basePoint1, orientation1, -1, partLoadStatus1, True)

RE: Brand new to NX Journaling - need help

Read the "Getting Started with SNAP" guide. Even if you don't use SNAP, you'll still find it useful. A lot of the material applies equally to the NX/Open API.

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