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: rafl
  • Content: Threads
  • Order by date
  1. rafl

    Find the top of the assembly by journal

    Is there a way to find and make display part the main assembly using journal?
  2. rafl

    workPart.CoordinateSystems.CreateCoordinateSystem() and ufs.Obj.DeleteObject()

    When I use cartesianCoordinateSystem1 = workPart.CoordinateSystems.CreateCoordinateSystem(xform1, NXOpen.SmartObject.UpdateOption.WithinModeling) the coordinate system can be successfully deleted with ufs.Obj.DeleteObject(). But when I change to cartesianCoordinateSystem1 =...
  3. rafl

    move curves to layer,except thread curves

    Hello I use the code below to move all the curves to layer.Basically it works as expected, except now I want to exclude thread curves. How to collect all the dashed thread curves? Dim displayModification1 As DisplayModification displayModification1 =...
  4. rafl

    Inherit dimension settings from costumer defaults (journal)

    I have a journal that inherits settings from costumer defaults. The problem is that it doesn’t retain tolerances and fits. How to make it read the tolerance (fit) value and assign it to the dimension once again. Here’s the code: Option Strict Off Imports System Imports NXOpen Imports...
  5. rafl

    Journal for color palette and background color

    Hello I’m looking for visual basic code for ”Use Costumer Default Palette“ and “Default Graduated Colors”. I know that journal doesn’t record these commands but maybe someone knows a way to get it.
  6. rafl

    Create surface finish symbol - journal

    Hi I have wrote a journal ( by editing some code I found) that creates surface finish symbol. The problem is it only selects drafting edges. Can some help me add also dimension selection. Here's the code : Option Strict Off Imports System Imports NXOpen Imports NXOpen.UI Imports NXOpen.UF...
  7. rafl

    Export only current sheet to .pdf

    I found this journal here on eng-tips. Is there a version that only exports current sheet instead of every sheet...
  8. rafl

    Plot journal

    I’m working on the journal that will plot current drawing using plot profiles. My code works only after entering PLOT menu, otherwise it gives an error. Can someone help me fix this. Imports NXOpen Imports NXOpen.UF Imports NXOpen.Drawings Public Class Program ' class members Private...
  9. rafl

    Assign part attribute to assembly files - journal

    I'm using the code below to add attributes to work part. Could somebody help me modify this code to assign attributes to every part in assembly. Option Strict Off Imports System Imports NXOpen Imports System.Windows.Forms Module Module1 Dim theSession As Session = Session.GetSession()...
  10. rafl

    Journal cycle problem. CAM operation transform

    Journal creates cam operation mirror through a plane. It works when executed on operation, but when item is a group object I'm getting en error (see attached file).Please help me to get this journal working. Option Strict Off Imports System Imports System.IO Imports System.Windows.Forms...
  11. rafl

    File With Largest Number In File Name - Journal

    I'm working on a journal that would get the largest number from file names in specified folder and display the result in a listing window. This is what I got so far: Option Strict Off Imports NXOpen Imports System Imports System.IO Imports System.Windows.Forms Module list_files Sub Main()...
  12. rafl

    Create new program object - journal

    Here is a journal which creates cam program object. New program name is created from previously selected program name number +1 ( name[Integer] +1). Is it possible for journal to automatically find last created program (without preselect) get its name and create new one. PS. How to check if...
  13. rafl

    Import parasolid journal

    I've recorded a program that imports parasolids from a specific folder. Is it possible to add current date as a name to imported bodies names in part navigator
  14. rafl

    Parasolid export journal code error

    Hi In Link theres a parasolid export journal by cowski. It gives me an error message when file name contains more than 30 characters. Error in line 39 Any help would be appreciated
  15. rafl

    NX8 electrode design. Problem with block_blank.xls

    In NX6 I used expressions like “1~200+1” or numbers separated by commas to set electrode foot dimensions and it worked great. I've tried to use it in NX8 and it looks like this doesn't work the way it should. It seems the problem occurs only with block_blank.xls. Moldwizard standard part...
  16. rafl

    Excel shop doc in nx8

    I am trying to create a simple shop doc template using excel. The first column is index, second column is program name and third column is tool name. ${my_index} | ${mom_oper_program} | ${mom_tool_name} I'm getting an error (see attached file). Does it mean there is no way to create shop...
  17. rafl

    Manufacturing: create new program object - journal

    I need help from someone that knows journal and vb. I want to automate creation of a new program object . After I create first program object whose name consists of numbers (for example 000001) journal would create next program that name is next number in order (e.g. 000002) also...
  18. rafl

    WEDM tool path visualization problem

    When I choose WEDM tool path visualization I always get a message "2D material removal is not supported ..." (see attached file) Has anyone else ran into this and know of a solution?
  19. rafl

    Windows 7 thumbnail preview for .prt files

    Is it possible to make a thumbnail preview for nx .prt files in windows explorer? like in windows XP
  20. rafl

    Palettes directory

    How to change the palette files directory location "C:\Documents and Settings\...\Local Settings\Unigraphics Solutions\NX6" to new one? IS there an environment variable?

Part and Inventory Search