+ Reply to Thread
Results 1 to 2 of 2

Thread: Lee Mac Junky

  1. #1
    Junior Member
    Computer Details
    highrez2's Computer Details
    Operating System:
    Windows 7 64bit
    Computer:
    Dell Precision T5600
    CPU:
    Xeon E5-2603 1.8Ghz
    RAM:
    32 gig
    Graphics:
    NVIDIA K2000
    Discipline
    Architectural
    highrez2's Discipline Details
    Occupation
    BIM Manager
    Discipline
    Architectural
    Using
    Revit 2015
    Join Date
    Mar 2013
    Location
    Arizona, U.S.A.
    Posts
    13

    Default Lee Mac Junky

    Registered forum members do not see this ad.

    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?

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,322

    Default

    Registered forum members do not see this ad.

    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:

    Code:
    (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)
    )
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts