cancel
Showing results for 
Search instead for 
Did you mean: 

WCreation

Pioneer
Pioneer
14 REPLIES

Re: Create lines instead of welded joints

Valued Contributor
Valued Contributor

Some time ago I did a program for a user that created lines to represent laser slots. The imag below I think gives a good idea of that program.  Is this something like you want?

 

Image1.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Frank Swinkels

 

Re: Create lines instead of welded joints

Pioneer
Pioneer

Thanks for the reply.

Yes i do think the same .You could the above image how i need it.

It is same as weld option in NX unigraphics where you could define the number and length of the weld/number and pitch of the weld.

Please share the same so i could get a rough idea ,trying that out.

 

Re: Create lines instead of welded joints

Valued Contributor
Valued Contributor

OK I can do a demo program.  What version of NX are you using?

 

Frank Swinkels

Re: Create lines instead of welded joints

Pioneer
Pioneer

NX 11

Re: Create lines instead of welded joints

Pioneer
Pioneer

Hi Frank

Can i have that demo Program please?

Thanks

Re: Create lines instead of welded joints

Valued Contributor
Valued Contributor

Had a few days away (Easter break).  Here are the signed program, the source vb code to look at or run as a journal, the dialog file and a brief outline as a pdf.

 

Regards

 

Frank Swinkels

Re: Create lines instead of welded joints

Pioneer
Pioneer

Hi Frank

Here is one problem when i run the code

Object reference not set to am instance of an obbject.

at weldRunsAsLines1.WeldasLinesdlx.Show().....vb:line61

 

Re: Create lines instead of welded joints

Pioneer
Pioneer

Hi Frank 

Also look at the below image of the error.

Error.PNG

Re: Create lines instead of welded joints

Valued Contributor
Valued Contributor

It means that the journal/program cannot find the dialog file (WeldasLinesdlx.dlx).

 

The WeldasLinesdlx.dlx file must be placed in one of the following locations:
 
   1. From where NX session is launched
   2. $UGII_USER_DIR/application
   3. For released applications, using UGII_CUSTOM_DIRECTORY_FILE is highly
       recommended. This variable is set to a full directory path to a file
       containing a list of root directories for all custom applications.
       e.g., UGII_CUSTOM_DIRECTORY_FILE=<NX install directory>\ugii\menus\custom_dirs.dat

 

Frank Swinkels