Skip to main content
Question

Create ACAD block from multiple DWG files


uvmsci
Participant
Forum|alt.badge.img

Hi,

I need help by creating ACAD block in FME.

 

There are more DWG files with buildings, one building per file, filename=BuildingID. I need to merge them into one DWG file, where each building should result into one block with block_name=BuildingID.

 

I can simulate it in ACAD, but I need to do it for hundreds tiles, with hundreds buildings each.

Attached are two buildings DWG (5296285, 5356200) and result file with blocks (5300_340000).

 

Thank you very much for any help!

 

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • November 9, 2021

Hi @uvmsci​,

If you read in multiple DWG files, then aggregate by the attribute fme_basename, you can create a single file containing a block for each building:

Screen Shot 2021-11-09 at 2.41.28 PMHowever, FME cannot presently create blocks that contain geometry on more than a single layer, or more than a single color, so it cannot exactly reproduce the target file. All the input geometry will be present, but will have the same layer and color.


uvmsci
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • November 10, 2021
daveatsafe wrote:

Hi @uvmsci​,

If you read in multiple DWG files, then aggregate by the attribute fme_basename, you can create a single file containing a block for each building:

Screen Shot 2021-11-09 at 2.41.28 PMHowever, FME cannot presently create blocks that contain geometry on more than a single layer, or more than a single color, so it cannot exactly reproduce the target file. All the input geometry will be present, but will have the same layer and color.

Thank you @daveatsafe​,

this is what I encounter all the time. I can create a block with single layer. I was hoping in some trick by aggregate with some list attribute that can distinguish layers within the block...

 

What about DGN - is there any chance to achieve this with DGN cells?

Thanks a lot!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings