Results 1 to 4 of 4

Thread: DWG Importing

  1. #1
    Member
    Join Date
    2016-11
    Posts
    9
    Login to Give a bone
    0

    Default DWG Importing

    To import DWG I use the command "Insert"
    Is there an alternative using Entmake? (or Entmakex)
    I found a lot of documentation and many examples about Entmake with blocks, but none that was able to call external files.
    Thanks for your attention.
    Happy New Year
    Riccardo Ferrari

  2. #2
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,138
    Login to Give a bone
    0

    Default Re: DWG Importing

    You have to read from one file using the ActiveX DBX method or ActiveX document method

    I would suggest using a DBX object and then use the copyobjects method to port over the entities.

    Probably would not work for dynamic block parameters.

    Using "Insert" utilizes C++ algorithms to port over everything.

    You can do this stuff with C++ (ARX), maybe C# (.net) but good luck.

    Why not use insert?

    P=
    AutomateCAD

  3. #3
    Member
    Join Date
    2016-11
    Posts
    9
    Login to Give a bone
    0

    Default Re: DWG Importing

    Quote Originally Posted by peter View Post
    You can do this stuff with C++ (ARX), maybe C# (.net) but good luck.
    Why not use insert?
    Thanks for the reply

    Reading your post and others elsewhere, I understand that importing external DWG files with Entmake is very difficult, maybe not even possible.
    Many people have suggested me vla-InsertBlock, which I have tried and it works. I will use it.

    Generally I don't like to use Command, INSERT implies to do that.
    I don't have any real reason to avoid Command, a sort of habit.

    Riccardo Ferrari

  4. #4
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,138
    Login to Give a bone
    0

    Default Re: DWG Importing

    Maybe insert the block at 0,0 and use the cmdactive system variable to put default values for attributes

    Then erase it.

    All this does is add the external drawing to blocks collection with all the stuff including dynamic block parameters.

    Use the entmake or vla-insertblock to actually place it in the drawing.
    AutomateCAD

Similar Threads

  1. importing .dwg into sheetsets
    By b_v_mc in forum AutoCAD Sheet Set Manager
    Replies: 6
    Last Post: 2005-02-03, 02:25 PM
  2. importing dwg - not visible in plan
    By bnix in forum Revit Architecture - General
    Replies: 2
    Last Post: 2004-12-15, 07:10 PM
  3. Importing DWG while in Sketch Mode
    By Mr Spot in forum Revit Architecture - Tips & Tricks
    Replies: 1
    Last Post: 2004-10-07, 11:03 PM
  4. Importing dwg to detail view
    By jwilhelm in forum Revit Architecture - General
    Replies: 2
    Last Post: 2004-06-18, 01:00 AM
  5. Resolving Autocad .DWG Detail Importing Problems
    By ben in forum Revit Architecture - General
    Replies: 4
    Last Post: 2004-05-03, 05:15 PM

Posting Permissions

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