Importing a DGN file-Select "Create object data" for all layers at once

Importing a DGN file-Select "Create object data" for all layers at once

FJankovsky
Advocate Advocate
1,534 Views
5 Replies
Message 1 of 6

Importing a DGN file-Select "Create object data" for all layers at once

FJankovsky
Advocate
Advocate

When importing a dgn file with multiple layers is there a way to select the entire column of Data and just select Create object data just one time?

 

FJankovsky_0-1738941512133.png

I have selected each row below to do this, but I'm hoping I can select the entire column and do it all at one time.

FJankovsky_1-1738941559472.png

 

0 Likes
Accepted solutions (1)
1,535 Views
5 Replies
Replies (5)
Message 2 of 6

braudpat
Mentor
Mentor

Hello

 

As far as I know, it s not possible ! 

 

But with "Save Profile / Save", you can record all options of your MAPIMPORT (or MAPEXPORT) 

and reload ("Save Profile / Load") these Options for a future MAPIMPORT (or MAPEXPORT) ...

 

Bye, Pat

 

Patrice ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


0 Likes
Message 3 of 6

ChicagoLooper
Mentor
Mentor
Accepted solution

Hi @FJankovsky 

As you already know, DGN's are not like DWG's. 

 

A DGN has Levels where the linework resides. The Levels manage the linetype, line weight, etc. They are akin to AutoCAD layers.

 

Here's a super oversimplified example: A dwg may have LAYERS for Proposed Objects, Existing Objects, and Objects to be Demolished. Each of those object groups may reside on its own Layer and each Layer may have its own linetype, line weight, and color. A dgn, however, will have Levels. Those Levels, like Layers, host the dgn's objects. You can MANAGE those Levels when the dgn file is OPENED, not MAPIMPORTED. 

 

What does this mean? It means you might not need to MAPIMPORT on a dgn because you can simply 'Open' it using M3D. See image below.

101.png

It can be tricky to do this if you're NOT the author of the dgn. The MAPPING part, where you tell AutoCAD a Dgn Level must land on a specific Map3D Layer, might involve guess work. If you guess correctly, or you use good judgement to map the Levels, you can facilitate a good transfer from the dgn format to dwg. Or you may simply accept all the default values and just open the dgn without any custom mapping. 

 

As far as using MAPIMPORT to create Object Data by selecting an entire column goes, that's not possible. You'll need to do that line-by-line. Using MapImport is the down-and-dirty way to add dgn linework. Opening a dgn and managing the Levels is much more sophisticated--it provides the opportunity to MAP Levels-to-Layers. 

 

Chicagolooper

EESignature

0 Likes
Message 4 of 6

FJankovsky
Advocate
Advocate

@ChicagoLooper 

 

Thank you for this information.  Your process worked without having to select all the individual rows for data in MAPIMPORT.

Message 5 of 6

Pointdump
Consultant
Consultant

Hi Frank,
You can Create Object Data for all rows at once by right-clicking the Data Header and choosing "Use Input Layer Name for Table Name". I know, not very intuitive.
Dave

 

OD_1.png

 

Dave Stoll
Las Vegas, Nevada

EESignature

64GB DDR4 2400MHz ECC SoDIMM / 1TB SSD
NVIDIA Quadro P5000 16GB
Windows 10 Pro 64 / Civil 3D 2025
Message 6 of 6

FJankovsky
Advocate
Advocate

@Pointdump 

 

Thank you, that is very helpful.

0 Likes