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?
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.
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.
Here is one problem when i run the code
Object reference not set to am instance of an obbject.
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
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