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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lisp routine modify?

Status
Not open for further replies.

ohiocad

Structural
Joined
Apr 6, 2001
Messages
196
Location
US
I have a little bit of experience in lisp programming, but still feel way over my head, even on the easy things.

We have a lisp routine that automates some things with blocks for us, that when we run it, says "Select block" but I am trying to find a way to modify it so that I can type the block name in instead of selecting it. It's a big time saver on some of the larger drawings so I don't have to filter out the block by name, and zoom in to find it.

Is that something simple to do?

Thanks
 
Yes - if you don't need to operate on a particular block insert. The current "select block" probably just extracts the block name anyway.

You could have a command line option, like;

Select block /Type:

so if you hit "T" then it would prompt you for block name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top