Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a new toolbar button/s with custom commands... 3

Status
Not open for further replies.

sp1ke727

Mechanical
Joined
Jun 24, 2005
Messages
44
Location
US
Is this possible in Draftsight? I see I am able to create my own toolbars with the existing commands. My question is, can you define a script much like you can in AutoCAD and assign it to a custom button. It does not look you can, but I'm just getting into DS and I may have overlooked a solution.

Thanks for any replies.
Spike
 
I entered a lisp command, so I'm not sure that it does anything more complicated, It's a 2 step process.
Right click on any tool.
Click on Custom Interface.
Interface.
Toolbars.
Right click on any toolbar.
New Toolbar.
Right click Toolbar and rename.

Go to Commands.
Right click on a Name.
Click New Command.
Right click Rename.
Go to Command String.
Double click.
Type in lisp command.
Go to Icon Explorer on right side.
Choose your icons or you can browse for you own.

Go back to your new toolbar.
Right click.
New entry.
Toolbar entry.
Left click.
Double click on Command.
Choose from dropdown menu.
Close.
Right click on any tool again and click Toolbars.
Check new toolbar.

There is a Help button at the bottom of the dialog box.

Sylvia
 
Thank you very much. Worked like a charm.

We're on AutoCAD 2002. My company does not want to upgrade to the latest and greatest, so something like
DraftSight will be my only alternative.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top