highrez2 Posted November 25, 2014 Share Posted November 25, 2014 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? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 26, 2014 Share Posted November 26, 2014 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) ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.