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 =...
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 =...
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...
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.
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...
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...
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()...
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...
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()...
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...
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
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
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...
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...
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...
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?
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?