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
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
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
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