Skip to main content
Solved

Why is there a 10 Character limit to V8DGN Cell Names in the V8DGN Writer?

  • June 30, 2017
  • 1 reply
  • 28 views

Why is there a 10 Character limit to V8DGN Cell Names in the V8DGN Writer when the V8DGN file format allows for a 512 character cell name? The old igds days are long gone and I don't understand why FME V8 DGN writers would not use the V8DGN file format attributes sizes? 10 Characters is not enough in the V8 DGN world for a cell name.

Best answer by fmelizard

Hello. This is a bit unclear, but hopefully I can help. There actually is not a limit of 10 characters for cell names when writing with DGNV8, it just appears so. If you have a cell library with a longer cell name in it, the DGNStyler or the igds_cell_name attribute are able to specify that cell by its longer name and successfully write it.

 

 

I expect that the issue is that the exposible format attribute for cell name (igds_cell_name), has a type of char(10). This is a legacy decision, which should be updated. However, because the DGNV8 writer does not adhere strictly to the length of string attribute types on destination feature types, this really does not affect writing of longer cell names.

 

 

This could however be an issue for the DGNV8 reader, where the same exposed cell name attribute and type could be mapped to a writer feature type which could strictly truncate the name based on the length specified in the type.

 

 

This exposed attribute type length will be fixed in FME 2018.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

fmelizard
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • July 4, 2017

Hello. This is a bit unclear, but hopefully I can help. There actually is not a limit of 10 characters for cell names when writing with DGNV8, it just appears so. If you have a cell library with a longer cell name in it, the DGNStyler or the igds_cell_name attribute are able to specify that cell by its longer name and successfully write it.

 

 

I expect that the issue is that the exposible format attribute for cell name (igds_cell_name), has a type of char(10). This is a legacy decision, which should be updated. However, because the DGNV8 writer does not adhere strictly to the length of string attribute types on destination feature types, this really does not affect writing of longer cell names.

 

 

This could however be an issue for the DGNV8 reader, where the same exposed cell name attribute and type could be mapped to a writer feature type which could strictly truncate the name based on the length specified in the type.

 

 

This exposed attribute type length will be fixed in FME 2018.