Skip to main content

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

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.


Reply