Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. pittbuck

    Exporting multiple bodies to a single STL file

    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!!!
  2. pittbuck

    Exporting multiple bodies to a single STL file

    ...partSaveStatus5 = workPart.Save(BasePart.SaveComponents.True, BasePart.CloseAfterSave.False) partSaveStatus5.Dispose() End Sub '*********************************************************************** Sub ExportSTLFiles(ByVal FileName As String, ByVal theObjects As List(Of...
  3. pittbuck

    "flipping" an object to another layer

    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...
  4. pittbuck

    "flipping" an object to another layer

    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...
  5. pittbuck

    NX8: Message Box/Listing Window question

    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?
  6. pittbuck

    Moving Objects Journal

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

    Bringing in STP Files Journal

    ...ex As NXException ' LW.WriteLine("Cycle Files and Folders Error: " & ex.Message) Exit Sub End Try End Sub '*************************************************************************** 'Process All Parts in a Directory Sub processParts(ByVal...
  8. pittbuck

    "Import IGES and sew bodies" Journal

    NEVERMIND figured it out.
  9. pittbuck

    "Import IGES and sew bodies" Journal

    ...Integer = 0 ' ---------------------------------------------- ' Menu: File->Import->STEP214... ' ---------------------------------------------- '******************************************* 'Following code is used to get the current file name and path for approval file Dim currentPath as...
  10. pittbuck

    "Import IGES and sew bodies" Journal

    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...
  11. pittbuck

    "Import IGES and sew bodies" Journal

    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...
  12. pittbuck

    "Import IGES and sew bodies" Journal

    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.
  13. pittbuck

    "Import IGES and sew bodies" Journal

    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...
  14. pittbuck

    Exporting Object to STL file; Journal

    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...
  15. pittbuck

    Copying Solids To A New Layer; Journal

    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...
  16. pittbuck

    Exporting Object to STL file; Journal

    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...
  17. pittbuck

    Exporting Object to STL file; Journal

    ...theUfSession.Ui.SetStatus("File ... " & FileBaseName & " generated ...") suffix += 1 Next End Sub '************************************************************* Public Function GetUnloadOption(ByVal dummy As String) As Integer 'Unloads the image immediately after...
  18. pittbuck

    Exporting Object to STL file; Journal

    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...
  19. pittbuck

    Exporting Object to STL file; Journal

    ...= "NXOpen.Body" then redim preserve myExportObjects(l) myExportObjects(l) = someObject l += 1 end if '******************************************* 'Following code is used to get the current file name and path for approval file Dim currentPath as string Dim...
  20. pittbuck

    Exporting Object to STL file; Journal

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

Part and Inventory Search

Back
Top