Skip to main content

Hi All,

I'm trying to read a MicroStation v8 dgn into FME Desktop 2020.1 and most of it is coming through fine, but some line strings which are classed as dimensions are not coming through successfully. Here is the dgn file (note the element type is dimension, why I don't know!):

 

dgn_dimensionAnd this is the output i get when reading in FME:

fme_dimensionInstead of the line I get a point and part of an arrow but that's it. No pertinent warnings and no errors at all, any ideas what I might be doing wrong (other than asking the CAD person to redo all of the leader lines)?

Dan

Hi @Daniel Irwin​,

I can't think of why this might happen off the top of my head but if you are able to share a sample file that just contains a few of these leader lines with arrows, I'd be happy to give it a try on my end and see what might be going wrong and if there's a workaround here.


Try exposing igds_dim_refx{}.primary_text_string attribute


Try exposing igds_dim_refx{}.primary_text_string attribute

Hi there, I tried exposing this attribute, but nothing comes out in the inspector :(

 

Here's what it does have, although not sure that helps!

 

dgn_dim_values 

 


Hi @Daniel Irwin​,

I can't think of why this might happen off the top of my head but if you are able to share a sample file that just contains a few of these leader lines with arrows, I'd be happy to give it a try on my end and see what might be going wrong and if there's a workaround here.

Hi there, many thanks for looking, I've attached a sample to this, having stripped out all references and other notable features, just left the annotations and leader lines / dimension features in. Hopefully you can open this, let me know if it doesn't work!


Try exposing igds_graphic_group and joining with the text strings with group by set to igds_graphic_group.


Try exposing igds_graphic_group and joining with the text strings with group by set to igds_graphic_group.

Anno1Anno link


Try exposing igds_graphic_group and joining with the text strings with group by set to igds_graphic_group.

Hi there, sorry you've lost me! What am I joining to igds_graphic_group? The leader lines (dimensions) are in the same level as the annotation, in fact when I select the text it's already associated with the other object?linked_objs


Hi there, sorry you've lost me! What am I joining to igds_graphic_group? The leader lines (dimensions) are in the same level as the annotation, in fact when I select the text it's already associated with the other object?linked_objs

Can you specify how you set up the reader? Or a sample workspace.

I believe the text strings are in a list that needs exposing but I can't remember it's name.


Hi there, many thanks for looking, I've attached a sample to this, having stripped out all references and other notable features, just left the annotations and leader lines / dimension features in. Hopefully you can open this, let me know if it doesn't work!

Hi @Daniel Irwin​,

I only had time for a partial answer today before the weekend but thanks to following leads from @caracadrian​'s suggestions (thank you!), I think I've found the attributes that caracadrian was going for. You can recreate the dimension lines by adding two VertexCreators, one for igds_dims_refx{0}.pt.x and igds_dims_refx{0}.pt.y, and a second for the index point 1 (igds_dims_refx{1}.pt.x/y).

dimension-linesCurrently the result looks like this:

resultUnfortunately I'm not yet sure of a workaround for the arrow heads but I was following my colleague, Debbi's workaround in this previous question here where she was able create the arrow geometry again in FME for outputting. At the time of answering, the attachment is missing, but I've pinged the team to reattach it (likely Monday).

 

I'll convert your question into a case to add it to our existing issue tracked internally as (FMEENGINE-8936) on reading dimensions incorrectly (including arrowhead directions). I'll let you know both via email and here when that issue gets addressed.


Hi there, many thanks for looking, I've attached a sample to this, having stripped out all references and other notable features, just left the annotations and leader lines / dimension features in. Hopefully you can open this, let me know if it doesn't work!

Many thanks, that's brilliant! Not actually after the arrowheads, just wanted the line to be able to attach the text to the object it was pointing to but this wasn't going to work without a line! Also had a problem with the VertexCreator until I realised that the Drop Dimensions Reader Parameter was set to FALSE, which caused all feature passing through this to be rejected!


Reply