Skip to main content
Question

AutoCAD .dwg layers to match with template

  • March 6, 2017
  • 1 reply
  • 34 views

Hi all,

I have dwg file exported from 12d Model. I need to match layers from exported file with template layers that we use.

For example exported layer named X-SURVEYFENCE is a polyline and it has defined style, colour and line weight. It has to be renamed to layer Z-FENCE with settings, that are already predefined in template (eg. surveydata.dwt).

If you have any experience in cad-cad transformation please assist me in resolving this issue.

Regards,

Maksym

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

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • March 6, 2017

Hi @maksym_khovalko,

You need to map the fme_feature_type name (which is the dwg layer in and dwg file) to the corresponding layer name in the template file, so X-SURVEYFENCE should become Z-FENCE.

This can be done in several ways, an AttributeValueMapper is a static way to do it and so is the AttributeManager way, for more advanced dynamic ways have a look at the SchemaMapper.

After mapping the fme_feature_type you should use the DWGStyler to match the style properties to the features. So essentially using the fme_feature_type attribute in the Linetype parameter.

Hope this helps.