Change polylines layer according to its extended options

Change polylines layer according to its extended options

dani_cs
Advocate Advocate
1,749 Views
4 Replies
Message 1 of 5

Change polylines layer according to its extended options

dani_cs
Advocate
Advocate

Hello all

 

I have a DWG with thousands of polylines. All of them are in the same layer called "us_01usos". Each poyline has extenden options inside: Area, lenght, description etc. The idea is to change each poyline layer according to their "description" field from extended options. These layers are already created with the same name of description field.

 

I am attaching a very simple example: you will se a huge polyline with a description field "Otros leñosos en secano"

Inside of this, you will see a tiny island with 2 polylines: one is the same "otros leñosos en secano" (because of island boundaries) and other with field "mosaico de cultivo con vegetacion natural". This is a typical example because my dwg has thousands of polylines, most of them inside others. So, there is no problem: each polyline layer to its description field will be awesone.

 

I am attaching pictures too

 

Thanks in advance

 

1.jpg

2.jpg

0 Likes
Accepted solutions (3)
1,750 Views
4 Replies
Replies (4)
Message 2 of 5

Pointdump
Consultant
Consultant
Accepted solution

Hi @dani_cs,
Use MAPEXPORT, and retain OD. Then use MAPIMPORT and use Layer Mapping.
Dave

 

LayerMapping_1.png

 

LayerMapping_2.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
0 Likes
Message 3 of 5

ChicagoLooper
Mentor
Mentor
Accepted solution

Hi @dani_cs 

 

Try this:

 

1. Select ALL your polylines then use MAPEXPORT command and export them to shapefile format. Name and save your shapefile in your project folder.

Image-1Image-1

 

2. The MapExport procedure has three tabs. Make your selections exactly as shown.

Image-2Image-2

 

3. Open a brand new, clean drawing. Use MAPIMPORT command=>Browse to then select your new shapefile=>OK.

Image-3Image-3

 

4. In the MapImport window, make your selections as exactly shown.Image-4Image-4

 

5. Zoom extents to see the polygons. You can change color, linetype, and line weight on a ByLayer basis. 

Image-5Image-5

Chicagolooper

EESignature

Message 4 of 5

O_Eckmann
Mentor
Mentor
Accepted solution

Hi @dani_cs ,

 

You can use a request to alter properties OD field as Layer.

(view in My Videos)

 

Olivier Eckmann

EESignature

Message 5 of 5

dani_cs
Advocate
Advocate

@O_Eckmann @Pointdump @ChicagoLooper 

 

hi all!!

 

Thanks a lot for your answers!!!! you have saved me lot of hours of working!!!

0 Likes