Findfile challenge

Findfile challenge

DC-MWA
Collaborator Collaborator
818 Views
3 Replies
Message 1 of 4

Findfile challenge

DC-MWA
Collaborator
Collaborator

Hi again,

I'm not sure this can be done, but I figured I would ask any ways. You folks have performed many miracles in the past so...

My lisp gets the sheet number from an attribute, such as "A10.00"

Is it possible to go into the current drawing directory and find the drawing with information in the beginning of the name?

Example:

User fills attribute with A10.00. The actual drawing name is "A10.00 - Details.dwg".

Is there a way to search current drawing folder, find the "A10.00 - Details.dwg" (using the A10.00 provided) and provide the full drawing name back to the user?

 

Thanks in advance for your time and assistance.

-D

0 Likes
Accepted solutions (2)
819 Views
3 Replies
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant
Accepted solution

That isn't challenging at all. You can do that by yourself, explore THIS

0 Likes
Message 3 of 4

DC-MWA
Collaborator
Collaborator
Accepted solution

Perfect. Does this mean I'm lazy? lol

Thanks, that worked perfect.

0 Likes
Message 4 of 4

DC-MWA
Collaborator
Collaborator

oops.

Thanks to Beekee CZ for the solution....

0 Likes