Skip to main content
Solved

Blocks not written to Autocad drawing

  • November 19, 2021
  • 8 replies
  • 97 views

garyb
Contributor
Forum|alt.badge.img+5
  • Contributor

I am using FME 2019.2 to read multiple Autocad drawings (r.2018) and then write them out into a single combined DWG. I've referenced a template file with all of the block definitions in it for the writer, but cannot seem to get any of my CAD blocks to write. The log tells me that "AutoCAD Writer: 3189 feature(s) were rejected and not written to the destination dataset", but doesn't give any hint as to why they were rejected. I've tried this using both the RealDWG and Map OD readers & writers, and I've tried it both with and without a DWG Styler transformer. Why are my blocks getting lost in translation?

Best answer by tomfriedl

Blockname"EX SURV TRAVERSE HUB" is not "EX Surv Traverse Hub"

View original
Did this help you find an answer to your question?

8 replies

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

Hi @garyb​,

Would you mind posting a copy of your workspace and a log file? This may give us the information needed to solve the problem.


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • November 29, 2021

I'm happy to share the workspace and log. Thanks for taking a look at it for me.


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • November 29, 2021

Not too sure why the workspace didn't upload there. Let's try again.


tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • November 30, 2021

see the log-file:

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV TRAVERSE HUB' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV TRAVERSE HUB' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV OLD IRON PIN' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX SURV OLD IRON PIN' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX MISC POST' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX MISC POST' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Further instances of this message will be suppressed

 

Have you set a AutoCad-Template?


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • November 30, 2021
tomfriedl wrote:

see the log-file:

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV TRAVERSE HUB' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV TRAVERSE HUB' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV OLD IRON PIN' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.6| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX SURV LEAD PLUG' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX SURV OLD IRON PIN' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX MISC POST' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Specified block 'EX MISC POST' is not defined in AutoCAD file. Skipping feature

2021-11-25 11:23:29| 353.7| 0.0|WARN |Further instances of this message will be suppressed

 

Have you set a AutoCad-Template?

Yes I have set a template file with all of the necessary layers, blocks, and linetypes defined within it. I've attached it here for reference. The workspace I uploaded earlier has a different template file set; it is one I created by using Autocad to manually build the combined drawing that I'm trying to get FME to do for me, so it not only contains the block definitions, but it is fully populated with multiple instances of those blocks as drawing objects, yet FME still fails to add them into the new drawing.


tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • Best Answer
  • December 1, 2021

Blockname"EX SURV TRAVERSE HUB" is not "EX Surv Traverse Hub"


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • December 1, 2021

Autocad is not case sensitive when it comes to block names, so yes they are the same thing in there. I suppose the question is whether or not this matters to the FME writer; I don't know why it would, but it's something which I can test.


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • December 2, 2021

Thank you Tom for pointing me in the direction of string case. Although Autocad is agnostic, the FME writer does seem to be particular about the text case.


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