Author Topic: Need help. Adding a function. Thanks a lot.  (Read 1451 times)

0 Members and 1 Guest are viewing this topic.

AIberto

  • Guest
Need help. Adding a function. Thanks a lot.
« on: April 05, 2015, 09:39:04 AM »
Dear Lisp Master

Happy Easter
a Text Library routine , Every time ,I need add some text to list from Text Library. Then write them into the drawing .Spent a lot of time .


I thought for a long time .  I hope add text to list quickly. So, I thought of using shortcut buttons.


I modified the Dcl file , But I can't write lisp program. I only know basic,eg. "Command ", 

Dear lisp Master ,Can you help me ? I'm truly grateful for your help.





« Last Edit: August 07, 2015, 12:39:16 PM by AIberto »

AIberto

  • Guest
Re: Need help. Adding a function. Thanks a lot.
« Reply #1 on: April 06, 2015, 08:22:24 AM »
Every time
when I drawing is mechanical parts. so I need add (Replace)
Code: [Select]
Parts to remove oxide skin
Remove burrs
Chamfer are C0.5
etc.
to the list from Library . And then inserted into drawing from list.

when I drawing is sheet metal parts, so I need add(Replace)
Code: [Select]
Bending radius control within the R2
Solder joint to uniform
Can't virtual welding
etc.
to the list from Library . And then inserted into drawing from list

So, I thought of using shortcut buttons.
When I click the button "MACHINING PARTS"
these string
Code: [Select]
Parts to remove oxide skin
Remove burrs
Chamfer are C0.5
etc.
will automatically added to the list

The process is like this:
First, I need add what I need“string” to list , and save. this may need to choose save to where . mech? cast? or sheet ?

When I click the button "mech" ,Clear List and read mech.ini file , Written to the List. At this time. I can click "ok" button Insert the string to the drawing.
Or continue to add other items from Library ,following can save again or insert to the drawing.

Maybe Dialog will change to this: