Skip to main content

Hello,

i have an issue with the creation of autocad blocks and object data.

Everything has been created as i wanted: - correct autocad layer and correct OD tabelname.

But every block itself receives also object data, i don't want this to happen.

the workbench i use is very basic, just an attributevaluemapper to get a blockname for every attributevalue, so i fill in (autocad_entity = autocad_insert // autocad_block_name=<blockname from template>, autocad_color and autocad_layer)

How can i prevent the "2nd OD" to be created? (on older workbenches i've done exactly the same but there this issue doesn't occur)

Thanks,

You could try an AttributeRemover transformer to just remove all the attributes you don't need. They will then also not show up as object data.


ddecoene did that solve your problem?


Hello,

 

removing all of the attributes (and adding those i need again) didn't solve the issue.

i did find a workaround, it involves spliting the data into the geo-data and the attribute data.


Hello,

I'm using FME 2018 and I have the same issue (don't see your post before posting mine...) : "AutoCAD Map 3D : Duplicate attributes when exporting points entities to block with OD", but I've no solution...

AttributeRemover doesn't solve the issue, because we need the attributes be written into object data. I tried deleting then removing Autocad format attributes "autocad_attrib_info{}", but nothing happens. Idem with dynamic schema and removing "autocad_attrib_info{}"

Any ideas ?


Hello,

I'm using FME 2018 and I have the same issue (don't see your post before posting mine...) : "AutoCAD Map 3D : Duplicate attributes when exporting points entities to block with OD", but I've no solution...

AttributeRemover doesn't solve the issue, because we need the attributes be written into object data. I tried deleting then removing Autocad format attributes "autocad_attrib_info{}", but nothing happens. Idem with dynamic schema and removing "autocad_attrib_info{}"

Any ideas ?

i didn't use the attribute-remover. At the end I add (attributecreator_4) autocad_map_odtable () "Bomen" and then write it to the Layer "Opmeting_Bomen" (Writer with no attributes).

 

The other string contains the attributes, which have to be in same layer "Bomen". (no geometry here)

 

 


I'm running into the same issue but with only one file and not the others? Has anyone found the issue or is this a bug?


Hi @blehm,

Any attributes defined on the output feature type will be written as Object Data as well as block attributes. To prevent the OD attributes from writing, please remove them from feature type definition.

If the attributes are pre-defined on the blocks, the values will be populated from attributes on the features sent to the writer, even if they are not defined on the output feature type. If the attributes are not predefined on the blocks, you will need to use the appropriate format attributes to create them. For more detailed information, please see the Inserts section of the FME DWG writer docs.