Jump to content

Lee Mac Junky


highrez2

Recommended Posts

Lee helped me out a while ago, Thanks Lee. now I find myself pushing further how do I modify or add to his code "ObjectDBXWrapper" to select sub directories?

Link to comment
Share on other sites

Hi highrez2,

 

I'm pleased to have been of assistance :)

 

Where my ObjectDBX Wrapper is concerned, you could combine this function with my Get Files Dialog function to enable the user to select drawings from multiple directories for processing, for example:

 

(defun c:test1 ( / )
   (LM:ODBX
       (function
           (lambda ( doc )
               (vla-addline (vla-get-modelspace doc)
                   (vlax-3D-point '(0.0 0.0))
                   (vlax-3D-point '(3.0 5.0))
               )
           )
       )
       (LM:GetFiles "Select drawings to process" "" "dwg")
       t
   )
   (princ)
)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...