Results 1 to 2 of 2

Thread: Replacing layers when re-importing DXF data

  1. #1
    Join Date
    Jun 2004
    Cambridge, UK

    Default Replacing layers when re-importing DXF data

    This info. may help you to replace certain layers within a document when re-importing DXF/DWG data.
    For example, you start off by receiving survey or OS data in DXF/DWG format. You Open or Import the file into a MicroGDS document then add your own graphics into other layers (you wouldn’t want your own graphics replaced).
    Then you get an updated version of the Survey/OS DXF/DWG that needs to replace the original data.

    For the following to work the DXF/DWG should have the same name as the original DXF. In MicroGDS you will notice that the layers from the original DXF will have an attribute L*MGDS_DXFSource with a value of the source filename. This is used to check if DXF/DWG data being imported clashes with previously imported DXF/DWG data.
    If this attribute isn’t shown in the Properties window then you should check the General tab of Preferences to make sure that “Show Advanced properties” is active.

    Using Notepad (or similar text editor) create yourself an Entity Mapping Table with the following....


    .... and save it as replace.emt

    We will be using this when we re-import the new DXF/DWG file.

    The *=* means that no layer names will be renamed between AutoCAD and MicroGDS.
    You could also use this to map all DXF/DWG layers to 1 MicroGDS layer by using something like *=Survey,,replace (you should use this when opening the DXF/DWG in the first instance).

    Now, when you go to re-import the DXF you should click on the Options button (of the “File to Import” dialog) and select replace.emt as your Entity Mapping Table. Also, make sure that the check box is checked.

    Your original DXF/DWG layer(s) will now be replaced by those in the new file.
    Don't forget to check the status of your EMT the next time you Open or Import DXF/DWG data, you may not want to use the replace option !

    Last edited by Paul Marchington; 29th September 2009 at 17:18. Reason: Font style

  2. #2
    Join Date
    May 2004

    Default EMT files

    Thats a great tutorial Paul could of done with this method a few million times in the past.....did it the long way
    Any chance of some more documentation on things like EMT files, menu config files etc. Someone in Informatix must know how all these things work....its always been a bit hit and miss with a lot of required help (usually excellent) from Tech support. It would be nice to be able to know the limitations and the features of these systems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may edit your posts