Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. Frank2288

    NXOpen, Python & VS Code

    To be fair, I'havent found any clear procedure to follow and I'm not sure that my attempts can be considered valid. I tried to add the C:\Program Files\Siemens\NX1899\NXBIN\python folder to the project and tried to import. Any help would be appreciated. Also, if someone has managed to use a...
  2. Frank2288

    NXOpen, Python & VS Code

    Hi all, I always used NX programming features relying on Visual Studio and VB libraries. Recently I started looking into Python, mainly to exploit the tools offered by several precompiled libraries that are very useful. I'd like to be able to run scripts built outside of NX, using Visual...
  3. Frank2288

    Bodycollection - more than one body?

    Mh, that's a very good tip. Sadly i never worked with layers. You said that the delete body command (i guess removeRange works in the same way) only removes from display. Which commands should i use to remove the entities from the body collection? I'm fairly certain that only the first body is...
  4. Frank2288

    Bodycollection - more than one body?

    I'm writing in VB a tool that needs to perform a series of modeling operations starting from a CAD template part that is given as input (it is manually modelled by an operator before the use of the automatic tool). For a series of reasons i need to be sure that the part that I am using as...
  5. Frank2288

    [NX 10] - Import Coloured Point Cloud (points + RGBdata) in Siemens NX 10

    Hi, I am a NX10 user. (10.0.3) I am currently working on a Reverse Engineering task. I need to import the reference data to start a reverse engineering process in Siemens NX 10. My data is a point cloud in .ply format. The cloud, however, has also RGB data associated with each point and I need...
  6. Frank2288

    NXOpen Face Tags: save and call

    Thanks! Could you give me a hint on how to use handles?
  7. Frank2288

    DLL/NX Journal from Batch commands

    Well, the way I see it, you have the same results, once that the method is working. But i thought that doing the "full control" by command line (windows cmd) was simpler for me than start a server/remoting connection. I don't know much about programming, so maybe I am wrong or I missed...
  8. Frank2288

    NXOpen Face Tags: save and call

    Hi! Another question (I guess you are all hating me at this point, with all these questions).. I built a tool to select a few faces from a part (let's call it example.prt) and to save the Nxopen.face.tag of the selected faces in a txt file. My idea was to use this file and the TAG contained...
  9. Frank2288

    DLL/NX Journal from Batch commands

    Yes, you are absolutely right. I was looking into that, but I would have liked to know if there was a way to do that via batch. Anyway, i guess i'll use a remote server.
  10. Frank2288

    DLL/NX Journal from Batch commands

    Thank you for your answer, i will look into ugs_router. I'll try to explain everything better with an example. I'd like to open a part (let's say that contains a cylinder) and, leaving the same first session open, launch a series of journals/dll interacting with the cylinder. For example, I...
  11. Frank2288

    DLL/NX Journal from Batch commands

    Hi all! I need to launch a DLL that i wrote from batch. I found something on multiple forums and on nxjournaling.com, but not quite the information that i need. I have a few questions: The best thing would be to launch a DLL (simuling the CTRL+U command within NX) that could interact with a...
  12. Frank2288

    Cycle with selection of objects

    Hi all! I have another question for you: I am currently trying to write a piece of code in NX open VB that performs these operations: (once again, I am a beginner) - Open a part (DONE) - get the collection of the STLs of a part (DONE) - cycle through every single STL and ask the user to...
  13. Frank2288

    DeviationGauge tool - NX Open

    I managed to call it from OPEN using the journal. Thank you again!
  14. Frank2288

    DeviationGauge tool - NX Open

    It works!!!! Thanks! Now i'll try to call it using OPEN.
  15. Frank2288

    DeviationGauge tool - NX Open

    Hi Toost, thanks for your answer, it's very helpful and i will try it as soon as possible. Is there a way to do it from code also? Thanks again
  16. Frank2288

    DeviationGauge tool - NX Open

    The distances are not actually listed in the listing/information window. The step that i miss to be able to print the data is exactly that. In the "deviation gauge" window there is no option to send the data to the information window (as in the "measure minimum distance" tool, for example), and...
  17. Frank2288

    DeviationGauge tool - NX Open

    This is the data that i need, but i can only see/read it in the 3D view of the software. Every evaluated distance is reported on the corresponding point of the STL.
  18. Frank2288

    DeviationGauge tool - NX Open

    maybe the distances that i am able to see in the NX environment (associated with the analysis?) can not be reported in the listing window?
  19. Frank2288

    DeviationGauge tool - NX Open

    This is what i wrote: Dim lw1 As ListingWindow lw1 = theSession.ListingWindow Dim myDocs As String myDocs = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) Dim outputFile2 As String = IO.Path.Combine(myDocs, "testlog.txt") lw1.Open()...
  20. Frank2288

    DeviationGauge tool - NX Open

    Thank you again. I used your suggestion, but the file comes out empty. Is this possible? Am i doing something wrong? (highly possible ;) )
Back
Top