cowski,
Once again, you have directed me to the right code. I had some things "out of order" in my initial code, which is why only one body was being exported instead of all bodies. This helped a lot! Thank you!!!
Hey NX Fam!
I am trying to utilize this journal to grab all bodies that are on Layer 36 as a single STL file. The number of bodies will typically range from 2-8. When I run the journal below, it only grabs one of these bodies and it isn't totally consistent which one it is. Please send help...
Tomas,
Just wanting to reduce the number of tasks that need to be done manually to help streamline. This particular task isn't a high priority, but would be nice to be able to do. This would be added on to another journal that I already use several times a day.
And yes. The FROM coordinate...
Hello fellow NX journal people,
My goal is to take an object that is oriented according to a coordinate system on one layer (layer 151) and make a copy of the object. This copied object will need to be orientated to the absolute coordinate system (for milling purposes). Below are the goals...
Is it possible to open a message box or listing window with step-by-step instructions for a design (training purposes) and be able to leave said window open while doing work in NX?
Is it possible to have a journal that will copy an object to another layer and rotate the copied object in a specific way? I know how to copy an object, but I'm not sure how to move it/rotate it.
Hey everyone.
SO here's the goal: Have NX open a directory so that I can click on a folder and allow any and all STP file to be brought in to the file that I am presently working on. I have a journal for importing in STP files based on the name of the file and I have a journal that will open...
Hey guys. So here is where I am at now. Presently, I am getting an error that says "Line 159 (and line 178): 'displayPart is not declared. It may be inaccessible due to its protection level." This is in the "GET FILE PATH/NAME" section. Thoughts?
Option Strict Off
Imports System
Imports...
Toost,
So you may have just revolutionized how we do stuff here. lol. SO my new question is how do you distinguish which layer to import a STP file to? Here is what I currently do:
Import -> STEP 214
Select File-> OK
How do I put this on a specific layer? It constantly puts it on...
Cowski,
Well. It happened. As we both predicted, that journal "worked" on the rarest of circumstances because NX doesn't know how to handle IGES sheets most of the time. SO. I want to try something different. If I import the IGES file manually, is it possible to have a journal that could...
cowski,
Thanks. I figured it would be a line similar to that, but I wasn't sure of the exact phrasing of it. And yes. I know all too well how moody sewing IGES files/bodies can be. But as with everything in life, better to try and maybe succeed but possibly fail than to never try at all.
Hello All.
Need some assistance with how to adjust this journal. Currently, this journal brings in the designated IGES file as a number of bodies. I would like it if this could be adjusted to also sew these bodies together, but I'm stuck on what to add. Any help would be great.
Below...
It's been a while. Just wanted to first say thanks to cowski! This journal has been a HUGE help.
Now it's time to start another little project that involves exporting more STL files.
I have multiple bodies that need to be exported to STL files and have each of these files have a different...
Happy New Year!
So I've got this code and am wanting to adjust such that I can select the necessary "direction" to align the copied body correctly. This code works less than 50% of the time and while it does copy the body to layer 195, the code doesn't always "flip" the body. I'll put the...
Cowski,
The first one is exactly what I needed. Thanks! As I mentioned before, I am still new to Journaling and just didn't know how to do something that is clearly a simple change.
Now onto a question that may be a lot more complicated. How do I move the new STL file as follows:
Folder A...
Hey Cowski,
First, I wanted to thank you for all the help you have given me. Things got a bit busy over here and I haven't been able to adjust the journal until recently. So because I had made so many adjustments to the code and wasn't getting anywhere, I started over. Now I'm on the right...
Alright. Getting somewhere. Less errors. Right now, the biggest problem seems to be something in line 56 (the Sub ExportSTL line). "theObjects" does not have a parameter, so I'm guessing that "theObjects needs to be replaced with something.
Sub ExportSTL(ByVal FileName As String, ByVal...
Cowski,
Something still isn't working. It keeps giving me the "declaration expected" error in a variety of places. Here is the code currently.
Option Strict Off
Imports System
Imports System.IO
Imports System.Collections.Generic
Imports NXOpen
Imports NXOpen.UI
Imports NXOpen.UF
Module...
I am trying to write a journal that will export a single object from a specified layer to a .stl file. I've tried to "rewrite" the journal that is on the following website, but it doesn't seem to help. Maybe I am re-writing the code wrong (very likely)...