Skip to main content

Use Your Own Layers and Styles

Prepare your own prototype DWG, connect it to Liftdesigner with a layer group, and use it for your drawings.

Written by Sabine Bunese

Make Liftdesigner drawings use your company's layers, dimension styles, and text styles. You prepare your own prototype DWG, connect it to Liftdesigner with a layer group, and select it for your drawings.

Prerequisites

  • Liftdesigner and the Datamanager are installed, with write access to the data pool.

  • The latest version of Autodesk AutoCAD is installed.

  • You know the Layer Properties Manager, Dimension Style Manager, and Text Style dialog in AutoCAD.

Prepare your prototype DWG in AutoCAD

Steps

  1. In the dwg folder of the data pool, copy one of the dwg template files and give the copy your own name.

  2. Open the copy in AutoCAD.

  3. In the Layer Properties Manager, change the existing layers or add your own.

  4. In the Dimension Style Manager, change the LIFT dimension styles or add your own.

    Keep a dimension style named STANDARD in the file. Liftdesigner uses it if a mapped dimension style doesn't exist.

  5. In the Text Style dialog, change the LD text style or add your own.

  6. Save the file as .dwg format in the dwg folder of the data pool.

Register your prototype DWG in the Datamanager

Steps

  1. In the Table view, open Basic > Module Files.

  2. Select your own module.

  3. Click L_ModuleFilesTab to add a row, and enter the path of your prototype DWG.

  4. Click in the row above to save.

Create your layer group in the Datamanager

Steps

  1. On the Home tab, in Edit Database Settings, select 1:Common components.

  2. In the Table view, open General Data > Drawing Related > Layer Configuration.

  3. Select the layer group you want to start from.

  4. Click Copy Components and copy the layer group into your own module.

  5. Click Close & Open Copy.

  6. In LYGR_DESC, enter a description for your layer group.

  7. In LYGR_PROTO_DWG, enter the file name of your prototype DWG.

  8. Check LYGR_MODE (AutoCAD output format) and LYGR_PROJECT_UNIT (metric or imperial).

  9. Click in the row above to save.

Map layers, dimension styles, and text styles

Steps

  1. In L_LayerGroupChangeTab, open the rows of 999 (Default) LDXNone. These rows apply to all components.

  2. For each Liftdesigner layer, dimension style, text style, or block in LYCHG_LYRSRC_ID, enter the matching name from your prototype DWG in LYCHG_LYRDEST.

  3. Optional: in LYCHG_COLOR, enter an AutoCAD color index (0–255) to override the layer color from the prototype DWG.

  4. Click in the row above to save.

To use different layers for one component, add a row in L_LayerGroupProductTab, select the component in LYGRPPR_LDX_RID, and map its layers in the same way. Every target layer must exist in your prototype DWG.

Select and test your layer group in Liftdesigner

Steps

  1. Open a project.

  2. Select the Sheets component under Document.

  3. In the Properties window, In Layer group name, select your layer group.

  4. The Liftdesigner drawing window updates.

AutoCAD Mechanical

For AutoCAD Mechanical output, start from TablesAM.dwg and save it as AutoCAD Mechanical DWG. The standard AutoCAD Mechanical configuration maps each component to a layer group with the layers AM_*. You must create these layer groups yourself in the prototype DWG.

Result

Drawings on sheets with your layer group use your layers, dimension styles, and text styles in Liftdesigner, PDF, EMF, and DWG/DXF exports.

Did this answer your question?