Unfortunately, both the NX message box and the .Net message box both take complete control away from the user until the message box is cleared. I don't believe that either will be a solution to this problem.
Thanks for the response, cowski. I see that you have an entry about NX message boxes on nxjournaling.com (a great site that everyone should visit!). I will take a look and see if I can use that to create the journal I need.
I am looking to create a journal that will turn on specific layers for the user, allow the user to view the model at different angles, advance to a next step with new layers turned on, and repeat until the user has reviewed all necessary layers.
As an example, when the user runs the journal...
Looking into this further, I thought I had solved the problem by using the line
Dim AA as New RegEx("^\d")
to look only for the RightHandSide values that begin with a number only. Unfortunately, some of the expressions I am looking to change actually start with a decimal point (instead of...
Cowski and others have helped me in the past to create a journal that would locate and edit the names of multiple expressions in a given part. I would like to do something similar with expression values. Basically I want the journal to locate all expressions with a specified value, then change...
Frank,
Thanks for the response. After I left the office last night I went back and looked at some code for an automated stp file export we use (admittedly, I should have done this prior to posting) and realized the changes I needed to make to get the code to work for this. I'm glad to see that...
Frank,
The direction of the Y-axis is working as intended. Thank you so much.
As for the movement from one CSYS to another, the part file is only going to have points, lines, and datum planes when the move function will be called. Unfortunately the current code will not work. How difficult...
Yes, the imported files contain only coordinate data for point creation. These points are used to create planes and lines. I've already got this part working and implemented in our system, which is discussed here:
As this is part of a larger journal that will import data from several files, I...
How difficult would it be to take all points, lines, bodies, everything from all layers and move them from a defined CSYS to the part's absolute coordinate system? This would essentially automate the process of doing a 'Move Object' function of the 'CSYS to CSYS' variety and selecting everything...
Something like this should work:
Const SketchLayerStart as Integer = 21
'Make 'MaxLayer' the last layer you are willing to move a sketch to
Const MaxLayer as Integer = 35
dim i as integer = 0
dim j as integer = SketchLayerStart
'move sketches
for each sketchObj as Sketch in...