Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Converting 3D polylines into 2D polylines within multiple blocks simultaneously

jmottet
Participant

Converting 3D polylines into 2D polylines within multiple blocks simultaneously

jmottet
Participant
Participant

I posted this in the C3D forum and someone recommended I post it here as well, so here is my dilemma.

 

I'm running a secondary program within C3D that requires blocks in order to function.  These blocks are actually outlines of framing panels, so they're rectangles of different widths and lengths.  In order for the program to run, each block must have 2 requirements.

 

1.  The elements within the block must be a closed polyline with only vertices at the 4 corners

2.  The closed polyline must be a 2D polyline

 

I use another program to export the .dxf/.dwg drawing in order to get my blocks, but when I open the blocks they are made up of 3D polylines and not 2D polylines.  I'm aware of the "convert 3D polylines to 2D polylines" function, but that would require me to open up each block individually and edit that way.  Some of these files have a few thousand blocks so manually editing them isn't feasable.

 

So, my question...Is there a way to change the linework within multiple blocks from a 3D polyline to a 2D polyline without having to open up each block indivually?  Hopefully my questions makes sense.  Thanks.

0 Me gusta
Responder
297 Vistas
3 Respuestas
Respuestas (3)

tstorzuk
Advocate
Advocate

A couple of questions for you...

 

How many "different" blocks are there per drawing? 1, 2, 10, 500, etc...?

Do the blocks have any attributes in them (text, etc...)?

Are the blocks "dynamic"?

Are they scaled to different sizes?

 

If you have only a few "different" types of blocks per drawing, they don't have any attributes, they are not dynamic, and aren't scaled to different sizes, here's what you can do.

 

Export one of each "different" type of block. Put them into a new folder somewhere.

Go into each type of block and convert the 3DPlines to 2DPlines.

Insert each type of block and allow them to "overwrite" all of the existing ones in the drawing.

0 Me gusta

jmottet
Participant
Participant
There are sometimes thousands of different blocks. Scaled the same, but differing widths, lengths and orientations.
0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

Just to get 2 threads handling the same question together:

https://forums.autodesk.com/t5/civil-3d-forum/is-there-a-way-to-change-linework-within-multiple-bloc...

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta