Skip to main content
Question

How can I set values for attribute igds_model_name when writing to DGN file?

  • April 9, 2019
  • 4 replies
  • 37 views

Forum|alt.badge.img

Hey, I am dealing with a data migration from File Geodatabase to Microstation DGN right now. I am wondering whether it is possible to set the value for the attribute igds_model_name in the DGN Feature Writer. The only accesible attribute is igds_xref_model_name. But I need igds_model_name, because right now all written features get the value Default, which is wrong.

The values I want to write are RB, GEM and DIG. They are currently saved in an attribute in a File GGeodatabase.

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.

4 replies

ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • April 9, 2019

The models need to be present in the seed file to write to them (I think that's right, just getting to grips with dgns myself)


Forum|alt.badge.img

The models need to be present in the seed file to write to them (I think that's right, just getting to grips with dgns myself)

Hey egomm, I guess they are already present. But how do I set that a feature has to grab a model? For color, style, weight etc. it is for example possible to get the values by level.


ebygomm
Influencer
Forum|alt.badge.img+44
  • Influencer
  • 3427 replies
  • April 15, 2019

There are two attributes igds_model_name and igds_model_id which define which model to write features to in the dgn. If the model isn't already present in the seed file though, this writes to the default model

You'll see a warning message in the log, if this is the case

Failed to find model with name 'Model View' in seed file. Writing related features to the default model

Forum|alt.badge.img

Alright, I got it. I guess, the models that we need are not present in the seed file. Thanks!