Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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: *

  • Users: OlafU
  • Order by date
  1. OlafU

    Equal or similar faces of two Solid Bodies

    Yes, you are Right, thanks. In addition, I didn´t mentioned it in my first post: If equal faces or similar faces were found, than certain faces attributes and/or properties linke face name should be copied from the one face (like a seed face) to the other face (a Kind of target face, that has...
  2. OlafU

    Equal or similar faces of two Solid Bodies

    Hello all. I need to find and determine equal or similar (with a certain tolerance) faces between two different bodies. I have already a Code where I can achieve this with single sheet bodies (with one face each). Now I am Looking for a similar way to do this for Solid Bodies (Maybe also for...
  3. OlafU

    NX motion simulation drive function list

    Hello Steph. You can find the definition of the functions in the Online-Help of NX under Simcenter 3D - Simcenter Motion - Motion Solvers - ADAMS - General Adams functions. For the Step-Function the meaning of the variables are: x: independet variable, e.g. Time x0: x Value at the beginning...
  4. OlafU

    Journal Component position as expressions

    Thank you very much. It works perfectly. I added a few lines to round the coordinates to 3 decimals: Dim X_Pos_N As Double = Math.Round(compPt.X,3) Dim Y_Pos_N As Double = Math.Round(compPt.Y,3) Dim Z_Pos_N As Double = Math.Round(compPt.Z,3) and then workPart.Expressions.Edit(x_pos...
  5. OlafU

    Journal Component position as expressions

    Your assumption was wright: I need the component postions as numerical expressions in NX as Inputs for a sketch. I can use the truncated whole numbers of my first way to use these values directly as numerical expressions. But when there are decimals I receive this Syntax error message when I try...
  6. OlafU

    Journal Component position as expressions

    A copy-Paste-Mistake: Code-Lines for second Way should be: 'Second Way: Create String expressions and make conversion in NX workPart.Expressions.Edit(x_pos, """" & compPt.X.ToString & """") workPart.Expressions.Edit(y_pos, """" & compPt.Y.ToString & """")...
  7. OlafU

    Journal Component position as expressions

    Hello cowski. I figured out two Ways: First one is to truncate the Positions to whole numbers, which will be enough for one of my UseCases. Second Way is to bring these values as strings to NX and make the conversion there: Imports System Imports NXOpen Imports NXOpen.UF Imports...
  8. OlafU

    Journal Component position as expressions

    The error code is: Error 3270008, The specified string contains a syntax error NX11.0.0
  9. OlafU

    Journal Component position as expressions

    Hello all. With the Journal below I can select a Component and the Journal gives out the Position in an Information Windows and is also editing existing expressions in the work part. It works fine for coordinates as whole numbers. But if one coordinate is not a whole number the Journal do not...
  10. OlafU

    Find Components and change color automatically

    In summary the code look now like this: 'Search for Components, Highlight Components, Modify Coloring Option Strict Off Imports System Imports System.Collections.Generic Imports System.IO Imports NXOpen Imports NXOpen.Assemblies Imports NXOpen.UF Imports NXOpen.Utilities Module...
  11. OlafU

    Find Components and change color automatically

    Hello petulf Thanx very much, it works perfectly! Olaf NX11.0.0
  12. OlafU

    Find Components and change color automatically

    Hello petulf. Thanks for the reply. I tried it, but I received an error message: "Explicit initialization is not permitted for Arrays declared with ecplicit bounds." Olaf NX11.0.0
  13. OlafU

    Find Components and change color automatically

    Hello Ronald. Thanks for hint. Here is the code again: 'Search for Components, Highlight Components, Modify Coloring Option Strict Off Imports System Imports System.Collections.Generic Imports System.IO Imports NXOpen Imports NXOpen.Assemblies Imports NXOpen.UF Imports NXOpen.Utilities Module...
  14. OlafU

    Find Components and change color automatically

    Hello all. I´m looking for a way, to Change the Color of components automatically. My idea is, to run through an assembly structure, search for a certain component name and change the color of this component to a defined color. I tried it with some bits and pieces from other scripts, I´m able to...
  15. OlafU

    NX 8 motion simulation takes long time to finish

    Try to reduce / simplify the solids used in the 3D Contact to the area where the Contact really occurs. NX10.0.1.4
  16. OlafU

    NX 9 Motion Simulation 3D Contact

    A 3D Contact do not apply, if one Link (here: the cylinder) of this pair has a driven joint. This is also mentioned in the Online-Help. One Workaround would be to use two markers and a sensor with an if-function, that says: if the marker, which is related to the driven cylinder, reaches the...
  17. OlafU

    Motion Variables

    In the function Manager at NX Motion I can use Motion variables (e.g.ACCM, ACCX,...). The purposes of the two entries in the Magnitude variables, e.g. ACCM( , ) is clear. Does anyone knows the prupose of the third entry when a variable based on an axis (e.g. ACCX( , , ) )will be used? Thanks in...
  18. OlafU

    Motion Simulation - Output 3D Angle to Spreadsheet

    Use the Animation window. Activate Measures under the Packaging Options and let the Motion run (don´t close the window). Select the "i"-Icon behind Measures (List Measurements). An info-Window appears with all measures. Store this as a txt-File and open this file in Excel with option fixed withs...
  19. OlafU

    Using Excel spreadsheet to drive NX motion simulation

    Hello. After Key-In the values in Excel you have to use "Update Table Function" which is in the tab "Add-Ins". Regards

Part and Inventory Search