Results 1 to 2 of 2

Thread: Match Layers to a predefined set of Layers, in Batch Mode

  1. #1
    Member
    Join Date
    2006-11
    Posts
    11
    Login to Give a bone
    0

    Default Matching Layers to a predefined set of Layers

    I am in the process of converting a mass amount of .dgn files drawn in Microstation to AutoDesk .dwg files. Thankfully I figured out how to use the .csv file in Microstation 8 and batch convert the drawings with the correct layer styles, lineweights, fonts, etc. Now I am at the point where I need to match the converted drawings with our DWG Layers. I can open each individual file and use the laytrans command to match layers with a pre-made drawing standards file. But since there are hundreds of drawings to convert, this would be a very long and tedious process. So now I am trying to write a Script that will run everytime AutoDesk is opened; this Script should run the laytrans command so that when the drawing is open we have the layers matched to our current layer states.
    Since I am fairly new with ScriptPro and using Lisps this process is going very slow. If anyone could offer a script to do this or send me in the right direction I would be grateful...
    Last edited by abroseDDG; 2006-11-22 at 06:17 PM.

  2. #2
    100 Club
    Join Date
    2004-12
    Posts
    153
    Login to Give a bone
    0

    Default Re: Match Layers to a predefined set of Layers, in Batch Mode

    if you use the layer translator, you should be able to save the settings, so autocad will "remember" what to do with the previous and new layer names and states for the drawings...You can't run it transparently though... you might be able to do "_laytrans" and some how automate it to load (alt+L) etc...

Similar Threads

  1. Replies: 2
    Last Post: 2013-05-23, 01:26 PM
  2. "Match Sheet Layers to View” option
    By HeribertoOlivo in forum Project Navigator
    Replies: 2
    Last Post: 2008-08-18, 05:38 PM
  3. Assign Layers in Sketch Mode
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 0
    Last Post: 2006-12-12, 03:15 AM
  4. Replies: 3
    Last Post: 2006-09-22, 08:22 PM
  5. Replies: 3
    Last Post: 2006-07-19, 06:11 PM

Posting Permissions

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