Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here




Hello, I'm pretty new in Lisp coding. I'm trying to do the following:
I have a cable list in Excel format, I want to do a search and highlight (select) the results of each of the cables found in the .dwg drawing. For this, I will change the color of the cable name, so when the script finishes, I have both the cables found in color, and the ones that it didn't find, in black color in the .dwg, for a consistency check.
The script should move from cable to cable from the list and make a find & colour it (exact match only). Also, I have a multi-layout cad file for the look up.
Example: Cable code: IA-ABC-126, if found -> change it to red, otherwise, it will remain black.
I'm really messed up with the language, so when I try to mix some codes it ends up not working.
Any help for these would be really appreciated.


RE: Multisearch

I have made an approach, using two functions, the first one BFindV2-0.lsp from Lee Mac, (batch find&replace) to add an string to the ones found (IA-ABC-126 -> IA-ABC-126 OK). And then the other one, to select all the "OK" added and change the color of the cable.
So the task is made. I have the .dwg file with the coloured cables found and black not found from the list.
The problem is that I also need the other way around. I can't see which cables are not found in the .dwg file from the Excel list. Any ideas? To add a list of "Not found" in the "BFindReport"?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close