Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

multiple dgn imports

1 REPLY 1
Reply
Message 1 of 2
JakeSwanstrom
421 Views, 1 Reply

multiple dgn imports

Is there a resource available to help import multiple dgn files into a dwg file? We have a project that we need to combine many dgn files into 1 dwg file. We found some tools that help, but they only import the files 1 at a time.
1 REPLY 1
Message 2 of 2
devitg
in reply to: JakeSwanstrom

You can use
----------------------------------------------------------------------------------------
(setq AcaDoc (vla-get-ActiveDocument (vlax-get-acad-object))
(vla-import AcaDoc dngfilename insertion-point scale )
----------------------------------------------------------------------------------------
Import method [ActiveX and VBA Reference: AAR]

RetVal = object.Import(FileName, InsertionPoint, ScaleFactor)

Object

Document
The object or objects this method applies to.

FileName

String; input-only
The name of the file to be imported.

InsertionPoint

Variant (three-element array of doubles); input-only
The 3D WCS coordinates location in the current drawing where the imported file is placed.

ScaleFactor

Double; input-only
The scale used to place the imported file.

RetVal

Object
In the case of importing a WMF file, a BlockReference object is returned. In all other cases, the return value is NULL.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost