Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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
Apr 6, 2001
193
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
 
Replies continue below

Recommended for you

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