DWG Interface - DigiPara
DWG Interface - DigiPara
DWG Interface - DigiPara
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong> 1<br />
1 LIFTDESIGNER <strong>DWG</strong> INTERFACE ................................................................................. 3<br />
1.1 SYSTEM REQUIREMENTS & INSTALLATION .............................................................................. 3<br />
1.2 SOFTWARE REQUIREMENTS .................................................................................................. 3<br />
2 LIFTDESIGNER LAYER MAPPING .................................................................................. 4<br />
2.1 GENERAL INFORMATION........................................................................................................ 4<br />
3 CREATE <strong>DWG</strong> FILES WITH LIFTDESIGNER ................................................................... 5<br />
3.1 THE “EXPORT DRAWING” DIALOG .......................................................................................... 5<br />
3.2 DIALOG OPTIONS ................................................................................................................. 6<br />
3.2.1 Select Output Option ................................................................................................... 6<br />
3.2.2 Settings Section .......................................................................................................... 7<br />
3.2.3 Sheets Section ............................................................................................................ 8<br />
3.2.4 <strong>DWG</strong> Configuration: .................................................................................................... 8<br />
4 <strong>DWG</strong> OUTPUT FORMATS ............................................................................................ 10<br />
4.1 AUTOCAD MODEL SPACE ONLY: ......................................................................................... 10<br />
4.2 AUTOCAD MODEL & PAPER SPACE..................................................................................... 12<br />
4.2.1 Add a new Dimension ................................................................................................ 14<br />
4.3 AUTOCAD MECHANICAL MODEL & PAPER SPACE ................................................................. 15<br />
4.3.1 Stretching the view Frames in the Model Space ......................................................... 18<br />
4.3.2 Moving view Frames.................................................................................................. 21<br />
4.3.3 Power Dimensions .................................................................................................... 21<br />
4.3.4 Turn on /off Components by Freezing / Unfreezing the Appropriate Layer .................. 22<br />
5 AUTOCAD LDDIM.ARX APPLICATION .......................................................................... 24<br />
5.1 LOAD THE LIFTDESIGNER LDRX.MNU FILE ............................................................................. 24<br />
5.1.1 Proceed as follows (AutoCAD 2005 and earlier versions): .......................................... 24<br />
5.1.2 Proceed as follows (AutoCAD 2006 / 2007): .............................................................. 29<br />
5.2 LOADING THE ARX APPLICATION ......................................................................................... 33<br />
5.3 LIFTDESIGNER TOOLBARS .................................................................................................. 33<br />
5.3.1 LD 5.0 Layer Groups Toolbar .................................................................................... 33<br />
5.3.2 LD 5.0 Operations Toolbar ........................................................................................ 33<br />
5.3.3 Loading the LIFTdesigner Component tree ................................................................ 34<br />
5.3.4 Updating Architectural Dimensions ............................................................................ 37<br />
6 PREPARE THE PROTOTYPE <strong>DWG</strong> FILES .................................................................... 39<br />
6.1 STANDARD AUTOCAD <strong>DWG</strong> PROTOTYPE FILE........................................................................ 39<br />
6.1.1 Setting up the “Layers” .............................................................................................. 39<br />
6.1.2 Setting up the “Dimension Styles” .............................................................................. 40<br />
6.1.3 Setting up the “Text Styles”........................................................................................ 41<br />
6.1.4 File Save Conditions ................................................................................................. 41<br />
6.2 AUTOCAD MECHANICAL <strong>DWG</strong> PROTOTYPE FILE .................................................................... 42<br />
6.2.1 Text Styles / Dimension Styles .................................................................................. 43<br />
6.2.2 File Save Conditions ................................................................................................. 43<br />
7 PREPARE THE LAYER CONFIGURATION TABLES ....................................................... 43<br />
7.1 SETTING UP THE “L_LAYERGROUPTAB” TABLE ..................................................................... 44<br />
7.2 SETTING UP THE “L_LAYERGROUPPRODUCTTAB” TABLE ....................................................... 45<br />
7.3 SETTING UP THE “L_LAYERGROUPCHANGETAB” TABLE ......................................................... 47<br />
7.4 MAPPING OBJECTS ............................................................................................................. 49<br />
7.5 LAYER CONFIGURATION HINTS ............................................................................................ 50<br />
7.5.1 AutoCAD layer configuration:..................................................................................... 50<br />
7.5.2 AutoCAD Mechanical Layer Configuration: ................................................................ 51<br />
8 LIFTDESIGNER PLOT STYLES .................................................................................... 53<br />
8.1 TABLE L_PLOTSTYLEGROUPTAB ....................................................................................... 53<br />
8.2 TABLE L_PLOTSTYLETAB ................................................................................................... 55<br />
8.3 CHANGING THE PLOT STYLE GROUP IN LIFTDESIGNER .......................................................... 56<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
2 LIFTdesigner <strong>DWG</strong> <strong>Interface</strong> __<br />
9 APPENDIX .................................................................................................................. 58<br />
9.1 SUPPORTED <strong>DWG</strong> ELEMENTS ............................................................................................ 58<br />
9.1.1 LINE.......................................................................................................................... 58<br />
9.1.2 ARC .......................................................................................................................... 58<br />
9.1.3 CIRCLE..................................................................................................................... 58<br />
9.1.4 POLYLINE ................................................................................................................ 58<br />
9.1.5 TEXT ........................................................................................................................ 58<br />
9.1.6 MTEXT...................................................................................................................... 58<br />
9.1.7 BLOCKS ................................................................................................................... 59<br />
9.1.8 HATCHES ................................................................................................................. 59<br />
9.1.9 DIMENSIONS ........................................................................................................... 59<br />
9.1.10 OTHER ELEMENTS .............................................................................................. 59<br />
9.2 SUPPORTED TABLES .......................................................................................................... 59<br />
9.2.1 LAYER TABLES ........................................................................................................ 59<br />
9.2.2 DIMSTYLES .............................................................................................................. 59<br />
9.2.3 TEXTSTYLES ........................................................................................................... 59<br />
9.3 SUPPORTED <strong>DWG</strong> VERSIONS ............................................................................................. 59<br />
9.4 <strong>DWG</strong> RENDERING PROCESS ............................................................................................... 60<br />
9.4.1 "The first definition wins":........................................................................................... 60<br />
9.4.2 Final recommendations ............................................................................................. 60<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
1 LIFTdesigner <strong>DWG</strong> <strong>Interface</strong><br />
LIFTdesigner Layer Mapping 3<br />
This document explains the functionality of the LIFTdesigner <strong>DWG</strong> interface<br />
program module. Some new features are the extended Export Drawing dialog, new<br />
dwg output features, the multi-sheet output option and creating AutoCAD<br />
Mechanical dwg files containing the extended AutoCAD Mechanical functionality.<br />
1.1 System Requirements & Installation<br />
1.2 Software Requirements<br />
The <strong>DWG</strong> <strong>Interface</strong> is tested and validated for the following AutoCAD applications /<br />
revisions:<br />
AutoCAD 2000 - 2011<br />
AutoCAD Mechanical 2004 - 2011<br />
The following LIFTdesigner components must be installed to run and to configure<br />
the LIFTdesigner <strong>DWG</strong> <strong>Interface</strong> application:<br />
<strong>DigiPara</strong> Premium Suite or Enterprise Suite<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
4 LIFTdesigner Layer Mapping __<br />
2 LIFTdesigner Layer Mapping<br />
2.1 General information<br />
The mapping of the component layers in LIFTdesigner works according to the<br />
illustration shown below.<br />
LIFTdesigner component layer mapping:<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Create <strong>DWG</strong> Files with LIFTdesigner 5<br />
In this case, it doesn’t make a difference if the drawing is exported as a PDF, EMF<br />
file or if it is displayed in the LIFTdesigner user interface as the mapping behavior<br />
for these output formats is equal. The destination layer settings for the <strong>DWG</strong> and<br />
DXF output are taken directly from the prototype <strong>DWG</strong> file, as shown above.<br />
3 Create <strong>DWG</strong> Files with LIFTdesigner<br />
3.1 The “Export Drawing” Dialog<br />
To create a .dwg file from a LIFTdesigner project, please proceed as follows:<br />
Start LIFTdesigner and open any project that you want to convert to a .dwg file.<br />
After you have opened the project, click on the “Export <strong>DWG</strong>” item in the “File”<br />
menu.<br />
The following dialog appears:<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
6 Create <strong>DWG</strong> Files with LIFTdesigner __<br />
3.2 Dialog Options<br />
This chapter explains the functionality of the Export Drawing dialog.<br />
3.2.1 Select Output Option<br />
In the “Select Output” section, you can choose between 3 different .dwg output<br />
formats.<br />
AutoCAD Model Space only:<br />
Choose this option, if you want to create a standard AutoCAD dwg file including a<br />
model space only.<br />
Multi-page model space:<br />
If you select more than one sheet with the AutoCAD model space output option,<br />
the selected sheets will be arranged in the AutoCAD model space automatically<br />
and according to an internal algorithm.<br />
The global scale in the created .dwg file always is 1:1, independent from the<br />
original view frame scales in the LIFTdesigner drawing.<br />
If the view frames in the selected LIFTdesigner sheet all have the same scale<br />
factor (e.g. 1:20), you can overwrite the global 1:1 .dwg scale with the view frame<br />
scale factor. Select the overwrite factor from the “Scale Factor” combo-box in the<br />
dialogs “Settings” section.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Create <strong>DWG</strong> Files with LIFTdesigner 7<br />
If you select the Factor 20, for example, the whole AutoCAD drawing will be scaled<br />
1:20. This option is available for the AutoCAD Model space only option, for the<br />
other options the “Scale Factor” combo-box is disabled.<br />
AutoCAD Model & Paper Space:<br />
Choose this option to create a standard AutoCAD dwg file including the model<br />
space and paper spaces according to the selected LIFTdesigner sheets. For each<br />
selected sheet, one paper space with the appropriate sheet name will be created.<br />
The paper space’s scale factors are according to the scale factors used in the<br />
appropriate LIFTdesigner sheets.<br />
AutoCAD Mechanical Model & Paper Space:<br />
This option allows you to create an AutoCAD mechanical dwg file including<br />
extended AutoCAD mechanical functionality for the model and the paper space.<br />
3.2.2 Settings Section<br />
In this section you can configure the following settings:<br />
Target Filename:<br />
Click on the right button to change the target dwg filename/ file location.<br />
Scale Factor:<br />
This selection is only available for the “AutoCAD Model space only” dwg output<br />
option. If all view frames of the selected sheet/sheets have the same scale factor,<br />
you can overwrite the global 1:1 dwg scale with the view frame’s scale factor. As a<br />
result, the AutoCAD drawing will be scaled down to the selected factor.<br />
Prototype <strong>DWG</strong>:<br />
This field is for information purposes only. It displays the path to the selected<br />
prototype dwg file. The dwg files must be located in the LIFTdesigner data pool<br />
dwg folder (e.g. C:\DP\MyDataPool\dwg\proto_dwg.dwg), otherwise the file will not<br />
be found and a standard LIFTdesigner dwg file will be selected.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
8 Create <strong>DWG</strong> Files with LIFTdesigner __<br />
If the .dwg prototype filename is not applied to the appropriate LIFTdesigner <strong>DWG</strong><br />
Configuration Set, the standard LIFTdesigner .dwg prototype file will be used.<br />
3.2.3 Sheets Section<br />
In this table, all the sheets of the currently opened project are displayed. Select the<br />
sheets you want to include in the .dwg file by enabling the checkmark in front of the<br />
sheet name.<br />
3.2.4 <strong>DWG</strong> Configuration:<br />
The layer configuration for the representation of the shaft, components and<br />
dimensions in LIFTdesigner is configured in so called AutoCAD prototype dwg<br />
files. These files contain the layer as well as the text and dimension configuration<br />
for the representation of the drawing in LIFTdesigner. The prototype dwg files are<br />
concatenated with a corresponding Layer Group configuration. To select a different<br />
prototype dwg file, you must select a different layer configuration. Proceed as<br />
follows:<br />
Right click in the sheet area and select “Sheet properties” from the context menu<br />
or click on “Sheet” -> “Sheet properties” in the menu bar.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Create <strong>DWG</strong> Files with LIFTdesigner 9<br />
The properties of the active sheet are displayed in the LIFTdesigner properties<br />
docking window.<br />
Now click on the parent “Sheets” item in the Quick Component Link box to display<br />
the global sheet settings.<br />
The global sheet settings are displayed.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
10 <strong>DWG</strong> Output Formats __<br />
Now you can select a different LIFTdesigner layer group configuration<br />
(concatenated with a different prototype <strong>DWG</strong> file) from the “Layer group name” list<br />
box. The Layer Groups are filtered according to the LIFTdesigner project’s unit<br />
system. LIFTdesigner provides standard layer groups including the prototype dwg<br />
files for all possible project configurations and dwg output formats.<br />
If you want to use your own Layer Group and prototype dwg file, you will need to<br />
create a layer group configuration in LIFTdatamanager 5 and your own dwg<br />
prototype file including the dwg target layers that you have previously configured in<br />
the layer configuration. After you have created your own dwg layer configuration<br />
set (e.g. for metric drawings, standard AutoCAD), you will be able to select this<br />
layer configuration in the properties of the Sheets object. The configuration of the<br />
prototype dwg files will be explained later on.<br />
4 <strong>DWG</strong> Output Formats<br />
In this chapter, one example per dwg output option will be explained.<br />
4.1 AutoCAD Model Space only:<br />
Open an existing or create a new project. Open the Export drawing dialog as it is<br />
explained in chapter 3.1.<br />
Select the appropriate output option and select the sheet you want to save as a<br />
dwg file. Customize the target file name and path if necessary. Select the<br />
appropriate Layer Group for the Sheets object in the properties docking window.<br />
If all the view frames in the selected sheet have the same scale factor, you can<br />
optionally change the global scale factor too.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Now click on the dialog’s Create Drawing button.<br />
<strong>DWG</strong> Output Formats 11<br />
After the dwg file has been created, start your AutoCAD application and open the<br />
file.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
12 <strong>DWG</strong> Output Formats __<br />
As you can see, the dwg file was created with the correct layer and prototype dwg<br />
(LIFTdesigner standard) information.<br />
4.2 AutoCAD Model & Paper Space<br />
Proceed as described in chapter 4.1 but select the AutoCAD Model & Paper space<br />
option and select the sheets you want to include in the dwg file.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
<strong>DWG</strong> Output Formats 13<br />
Click on the Create Drawing button. After the dwg file has been created<br />
successfully, open it with your AutoCAD application.<br />
As you can see, the model space contains all LIFTdesigner views included in the<br />
selected Sheets, rescaled to 1:1.<br />
The configuration of the paper spaces is equivalent to the configuration of the<br />
LIFTdesigner sheets (view port arrangement, view port scale). One paper space is<br />
created per selected LIFTdesigner sheet.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
14 <strong>DWG</strong> Output Formats __<br />
4.2.1 Add a new Dimension<br />
Add a new dimension to one of the views, e.g. the diagonal distance between the<br />
car CP and the CP of the counterweight in the model space.<br />
Set the new dimension’s dim scale to the view’s overall scale (e.g. 20, 50 etc.).<br />
Now switch to the appropriate paper space containing the edited view.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
<strong>DWG</strong> Output Formats 15<br />
As you can see, the view port in the appropriate paper space was updated<br />
automatically and the new dimension was automatically rescaled with the view<br />
port’s scale factor.<br />
4.3 AutoCAD Mechanical Model & Paper Space<br />
Proceed as described in chapter 4.2 but select the “AutoCAD Mechanical Model &<br />
Paper space” option.<br />
You can also select the AutoCAD Mechanical Layer Group configuration for the<br />
“Sheets” object in the properties docking window to set the layers and dimension<br />
similar to the default layer configuration in AutoCAD Mechanical.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
16 <strong>DWG</strong> Output Formats __<br />
After the .dwg file has been created successfully, open it with your AutoCAD<br />
Mechanical application.<br />
As you can see, all views in the model space are embedded in frames, similar to<br />
an AutoCAD mechanical frame. This frame contains more functionality. Each<br />
frame is concatenated to the appropriate view port in the according paper space.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
<strong>DWG</strong> Output Formats 17<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
18 <strong>DWG</strong> Output Formats __<br />
4.3.1 Stretching the view Frames in the Model Space<br />
Pick one of the corners of the view frame and drag it.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Draw a circle or something else in the upper right corner.<br />
<strong>DWG</strong> Output Formats 19<br />
Switch to the appropriate paper space containing the view port that the edited<br />
frame is concatenated to.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
20 <strong>DWG</strong> Output Formats __<br />
As you can see, the concatenated view port in the appropriate paper space still<br />
has its original shape. Now double click on the view port’s border. The following<br />
message appears.<br />
Click on the Yes button to allow the update of the concatenated view port. Click on<br />
the Return key to keep the view ports original position and confirm the View dialog<br />
with OK.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
The concatenated paper space view port is updated.<br />
4.3.2 Moving view Frames<br />
<strong>DWG</strong> Output Formats 21<br />
The view port update function also works when you move the model space frames.<br />
After moving the frame, just switch to the appropriate paper space and then update<br />
the concatenated view port (the view port will display the wrong content after<br />
moving the concatenated view frame in the model space).<br />
4.3.3 Power Dimensions<br />
Add a new dimension to one of the view frames in the model space. The new<br />
dimension will be added with the correct dimension scale and style.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
22 <strong>DWG</strong> Output Formats __<br />
4.3.4 Turn on /off Components by Freezing / Unfreezing the Appropriate Layer<br />
Click on the Layer Functions button in the AM:Main toolbar to open the Layer<br />
Control dialog. Switch to the Layer Group Control tab and freeze one of the<br />
present layer groups. For example, the LDCar layer group and confirm with OK.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
<strong>DWG</strong> Output Formats 23<br />
Now take a look at the drawing. All components / dimensions that have been<br />
assigned to this layer group are switched off.<br />
Re-open the Layer Control dialog and unfreeze the LDCar layer group. The car<br />
components and the associated dimensions are switch on again.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
24 AutoCAD LDDIM.arx Application __<br />
The configuration of the layer groups is equivalent to the function of the<br />
components & dimensions toolbar in LIFTdesigner.<br />
5 AutoCAD LDDIM.arx Application<br />
The LDDIM.arx application implements a LIFTdesigner component tree. This tree<br />
displays the LIFTdesigner shaft components in a hierarchical order and it is much<br />
easier to select concatenated shaft component groups.<br />
LIFTdesigner Menu and ARX Application files based on the supported AutoCAD<br />
version:<br />
LDDim.arx (e.g.<br />
“C:\Program<br />
Files\LD50\bin”)<br />
ldrx.mnu (e.g.<br />
“C:\Program<br />
Files\LD50\bin”)<br />
LDDim07.arx (e.g.<br />
“C:\Datapool\dwg”)<br />
ldrx07.mnu (e.g.<br />
“C:\Datapool\dwg”)<br />
AutoCAD 2004<br />
AutoCAD 2005<br />
AutoCAD 2006<br />
AutoCAD 2004 Mechanical<br />
AutoCAD 2005 Mechanical<br />
AutoCAD 2006 Mechanical<br />
AutoCAD 2007<br />
AutoCAD 2007 Mechanical<br />
5.1 Load the LIFTdesigner ldrx.mnu file<br />
To be able to load the LDDim.arx application and use its further functionalities for<br />
AutoCAD and AutoCAD Mechanical, we recommend that you to load the<br />
LIFTdesigner menu file “ldrx.mnu” into your AutoCAD application (for AutoCAD<br />
2007, AutoCAD 2007 Mechanical, load the menu file “ldrx07.mnu”).<br />
5.1.1 Proceed as follows (AutoCAD 2005 and earlier versions):<br />
In AutoCAD, select the “Options” item from the “Tools” menu. Now switch to the<br />
“Files” register and add a new “Support Files Search Path”. In AutoCAD<br />
Mechanical select the “Options” item from the “Assist” menu.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
AutoCAD LDDIM.arx Application 25<br />
Browse in your LIFTdesigner data pool directory and select the “dwg” subdirectory.<br />
The path to this directory will become a new search path for AutoCAD.<br />
The directory contains the LIFTdesigner menu files (“ldrx.mnu”).<br />
The new search path will be displayed.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
26 AutoCAD LDDIM.arx Application __<br />
Repeat this procedure to add the path to the LIFTdesigner “bin” directory as the<br />
second search path, since the LDDim.arx application is located in this directory<br />
(e.g. “C:\Program Files\LD50\bin”).<br />
Now to activate the LIFTdesigner menu bar item and toolbars, you will need to<br />
customize your AutoCAD toolbars. Select the “Customize -> Menus…” item from<br />
the “Tools” menu. In AutoCAD Mechanical versions, this item can be found in the<br />
“Assist” menu (Assist -> Customize -> -Menus… / <strong>Interface</strong>…).<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
AutoCAD LDDIM.arx Application 27<br />
In the appearing dialog, click on the “Browse” button in the register “Menu Group“<br />
to browse in the LIFTdesigner ldrx.mnu file. The file is located in the data pool’s<br />
“dwg”-directory as it was mentioned above.<br />
Select the ldrx.mnu file and click on the “Open” button. Then click on the Load<br />
button in the “Menu Customization” dialog.<br />
Confirm the appearing warning message with Yes. An additional menu group item<br />
is displayed in the “Menu Groups” window.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
28 AutoCAD LDDIM.arx Application __<br />
Switch to the “Menu Bar” register and select the LIFTdesigner menu group item.<br />
Click on the “Insert” button to add the LIFTdesigner menu item into the AutoCAD<br />
menu bar.<br />
Now take a look at your AutoCAD menu bar, it now contains an additional<br />
LIFTdesigner menu entry.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
AutoCAD LDDIM.arx Application 29<br />
To load the LIFTdesigner toolbars, right click into an empty area in the toolbar<br />
area…<br />
…and activate the LIFTdesigner toolbars via the context menu.<br />
5.1.2 Proceed as follows (AutoCAD 2006 / 2007):<br />
In AutoCAD, select the “Options” item from the “Tools” menu. Now switch to the<br />
“Files” register and add a new “Support Files Search Path”. In AutoCAD<br />
Mechanical select the “Options” item from the “Assist” menu.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
30 AutoCAD LDDIM.arx Application __<br />
Browse in your LIFTdesigner data pool directory and select the “dwg” subdirectory.<br />
The path to this directory will become a new search path for AutoCAD.<br />
The directory contains the LIFTdesigner menu files “ldrx.mnu” (“ldrx07.mnu” for<br />
AutoCAD 2007).<br />
The new search path will be displayed.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
AutoCAD LDDIM.arx Application 31<br />
Repeat this procedure to add the path to the LIFTdesigner “bin” directory as the<br />
second search path, since the LDDim.arx (LDDim07.arx for AutoCAD 2007)<br />
application is located in this directory (e.g. “C:\Program Files\LD50\bin”).<br />
Now to activate the LIFTdesigner menu bar item and toolbars, you will need to<br />
customize your AutoCAD toolbars. Select the “Customize -> <strong>Interface</strong>…” item from<br />
the “Tools” menu. In AutoCAD Mechanical versions, this item can be found in the<br />
“Assist” menu (Assist -> Customize -> <strong>Interface</strong>…).<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
32 AutoCAD LDDIM.arx Application __<br />
In the appearing dialog, click on the “Load partial customization file” button in the<br />
“Customize” tab to browse for the LIFTdesigner “ldrx07.mnu“ menu file. The file is<br />
located in the LIFTdesigner dwg directory of the current data pool.<br />
Hint: Switch the Files of type option to “Menu files”.<br />
Select the file ldrx.mnu (ldrx07.mnu for AutoCAD 2007) and click on the Open<br />
button.<br />
Now click on the Apply button in the Customize User <strong>Interface</strong> dialog to finish the<br />
process. Take a look at your AutoCAD menu bar, it now contains an additional<br />
LIFTdesigner menu entry.<br />
To load the LIFTdesigner toolbars, right click into an empty area in the toolbar<br />
area…<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
…and activate the LIFTdesigner toolbars via the context menu.<br />
5.2 Loading the ARX Application<br />
AutoCAD LDDIM.arx Application 33<br />
Load the application from the LIFTdesigner menu. Click on the “Load Application…”<br />
menu item to load the “LDDim.arx” (“LDDim07.arx”) application.<br />
5.3 LIFTdesigner Toolbars<br />
5.3.1 LD 5.0 Layer Groups Toolbar<br />
The functionality of the “LD 5.0 Layer Groups” toolbar is only available in AutoCAD<br />
Mechanical versions (AutoCAD Mechanical 2004 / 2005).<br />
Click on one of the buttons in the “LD 5.0 Layer Groups” toolbar to activate the<br />
concatenated, predefined LIFTdesigner layer group.<br />
Each toolbar button is concatenated to a predefined LIFTdesigner layer group.<br />
These layer groups are loaded with the created LIFTdesigner AutoCAD<br />
Mechanical .dwg file. The buttons in the toolbar will not work with non<br />
LIFTdesigner AutoCAD Mechanical ”.dwg” files since they usually do not contain<br />
the necessary layer groups.<br />
5.3.2 LD 5.0 Operations Toolbar<br />
The LIFTdesigner “LD 5.0 Operations” toolbar has further functionalities for all<br />
supported AutoCAD versions (AutoCAD 2000 – AutoCAD Mechanical 2007).<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
34 AutoCAD LDDIM.arx Application __<br />
1. Select the current component<br />
only:<br />
2. Select the current, parent and<br />
child components:<br />
3. Select the current and child<br />
components:<br />
Selects the last selected component. All other,<br />
selected components will be deselected.<br />
Selects the current as well as all parent and all<br />
child components.<br />
Selects the current as well as all child<br />
components.<br />
4. Show the component tree: Loads the LIFTdesigner component tree.<br />
5. Update dimensions: Changes the dimension appearance to the<br />
architectural dimension style.<br />
5.3.3 Loading the LIFTdesigner Component tree<br />
After you have loaded the LDDIM.arx application, open the LIFTdesigner<br />
component tree by clicking on the “Tree” button in the LIFTdesigner “LD5.0<br />
Operations” toolbar.<br />
Alternatively, you can open the component tree by using the following commands:<br />
LD >> Tree >> On<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
AutoCAD LDDIM.arx Application 35<br />
The LIFTdesigner component tree will be displayed on the screen.<br />
Tree layout:<br />
The tree layout is similar to the hierarchical tree structure in LIFTdesigner.<br />
LDSheet: The sheet currently loaded (in this example, the model<br />
space)<br />
LdvSheet*: The LIFTdesigner sheet displayed in the current AutoCAD<br />
Mechanical sheet (it is possible to display multiple<br />
LIFTdesigner sheets in one AutoCAD sheet).<br />
LdvFrame*: Represents one frame, displayed on the current sheet<br />
Shaft: Represents the shaft, displayed in the mechanical frame.<br />
Car, Entries, etc.: All objects in the tree represent the appropriate objects<br />
including the corresponding object dimensions displayed in<br />
the corresponding mechanical frame.<br />
Click on a tree entry once, to select only the concatenated parent frame object and<br />
dimensions. Click on the tree entry twice, to select the parent as well as all the<br />
child frame objects and dimensions.<br />
Example: Click once on the Car tree entry. As you will see, only the car object in<br />
the concatenated frame is selected.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
36 AutoCAD LDDIM.arx Application __<br />
Click twice on the car entry, to select all Car sub-components.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
5.3.4 Updating Architectural Dimensions<br />
AutoCAD LDDIM.arx Application 37<br />
When you create a LIFTdesigner project with the (cm/m) architectural dimension<br />
style in LIFTdesigner and you create an AutoCAD .dwg file, the dimension style<br />
information is also stored in the .dwg file. When you load the created .dwg file you<br />
will see that the dimensions are not displayed according to the architectural<br />
dimension style configured in LIFTdesigner.<br />
To display the correct dimension style, you will need to update the dimensions<br />
manually by using the ”Update dimensions” button in the AutoCAD “LD 5.0<br />
Operations” toolbar.<br />
Update dimensions button:<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
38 AutoCAD LDDIM.arx Application __<br />
Architectural dimension style (cm/m) in<br />
LIFTdesigner:<br />
Architectural dimension style in the<br />
created .dwg file after the dimension<br />
update:<br />
Dimension style in the created .dwg file<br />
before the dimension update:<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
6 Prepare the Prototype <strong>DWG</strong> Files<br />
6.1 Standard AutoCAD dwg prototype file<br />
Prepare the Prototype <strong>DWG</strong> Files 39<br />
First you will need to modify the .dwg prototype drawing according to your needs.<br />
In this case, it makes sense to use the default LIFTdesigner prototype files<br />
Tables2000.dwg, TablesAM.dwg. As a basis, they already contain predefined<br />
Dimension Style and Text Style configurations as well as the default layers<br />
(Tables2000.dwg). The AutoCAD Mechanical prototype drawing contains a default<br />
set of LIFTdesigner specific layer groups (TablesAM.dwg). These files can be<br />
found in the LIFTdesigner data pool “dwg” directory (e.g. C:\LD\DP\dwg).<br />
The prototype dwg files for imperial .dwg output have the same names as the<br />
metric files plus the extension “_imp”.<br />
6.1.1 Setting up the “Layers”<br />
Open the predefined Tables2000.dwg prototype drawing or open a new drawing.<br />
Select the Layer option from the Format menu bar or type layer into the AutoCAD<br />
command line to show the layer configuration window.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
40 Prepare the Prototype <strong>DWG</strong> Files __<br />
Add a new or modify the existing layers in this dialog.<br />
6.1.2 Setting up the “Dimension Styles”<br />
Select the Style… option from the Dimension menu bar to show the dimension style<br />
configuration window, alternatively enter dim style in the AutoCAD command line.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Prepare the Prototype <strong>DWG</strong> Files 41<br />
Use the Modify button inside the dialog to edit the existing (LIFTdesigner)<br />
dimension styles or add a new dimension style.<br />
Recommendation: You should always make sure that your prototype .dwg file<br />
includes a "STANDARD" dimension style. In case of incorrect mapping in your<br />
layer mapping tables, the “STANDARD” dimension style is used instead of the<br />
incorrect / non-existing mapped LIFTdesigner dimension style.<br />
6.1.3 Setting up the “Text Styles”<br />
Select Text Style… from the Format menu bar to edit the predefined or add a new<br />
Text style.<br />
6.1.4 File Save Conditions<br />
When you have finished setting up the prototype drawing file, you will need to save<br />
it in the AutoCAD2000.dwg file format. Save the file under a new name like<br />
“CustomerPrototype.dwg” in the data pool’s dwg folder.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
42 Prepare the Prototype <strong>DWG</strong> Files __<br />
6.2 AutoCAD Mechanical dwg Prototype file<br />
Open the predefined TablesAM.dwg prototype drawing or open a new drawing.<br />
Select the Layer / Layer Group option from the Assist menu or click on the Layer<br />
Functions button in the AutoCAD Mechanical main toolbar (AM:Main).<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Prepare the Layer Configuration Tables 43<br />
Add a new or modify / rename the existing layers / layer groups in this dialog.<br />
6.2.1 Text Styles / Dimension Styles<br />
See chapter 6.1.2 and 6.1.3. The LIFTdesigner default AutoCAD Mechanical<br />
configuration uses a standard LIFTdesigner dimension style (LIFT) as well as a<br />
standard LIFTdesigner text style (LD) for the .dwg output. You can add your own<br />
text dimension styles, if necessary, or modify the standard styles (LIFT dimension<br />
styles, LD text style) according to your needs.<br />
AutoCAD mechanical menu bar >> Assist >> Format >> Dimension style / Text<br />
style.<br />
6.2.2 File Save Conditions<br />
When you have finished customizing your prototype dwg file, you will need to save<br />
it as an AutoCAD Mechanical 2004 .dwg file.<br />
7 Prepare the Layer Configuration Tables<br />
Open the LIFTdatamanager to configure the <strong>DWG</strong> Mapping / Layer tables. First<br />
select the proper manufacturer in the Default toolbar.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
44 Prepare the Layer Configuration Tables __<br />
In this example, we will use the LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s manufacturer area,<br />
since it already contains the default LIFTdesigner layer configurations for AutoCAD<br />
/ AutoCAD Mechanical. Then click on General Data -> Drawing Related -> Layer<br />
Configuration in the Table View docking window. If you can’t see the Table View<br />
docking window, activate it via the Window menu.<br />
7.1 Setting up the “L_LayerGroupTab” Table<br />
Click on the L_LayereGroupTab button located at the bottom of the dialog to add a<br />
new record to the L_LayerGroupTab table. In this table the LYRG_RID,<br />
LYGR_DESC, LYGR_MODE and the LYGR_PROT_<strong>DWG</strong> fields are displayed<br />
according to the manufacturer selected in the default toolbar.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Column description:<br />
Prepare the Layer Configuration Tables 45<br />
LYGR_RID: Automatically filled in by LIFTdatamanager<br />
LYGR_DESC: Global description of the layer configuration<br />
LYGR_MODE: Choose the appropriate AutoCAD output format for the<br />
new layer configuration.<br />
LYGR_PROTO_<strong>DWG</strong>: Enter the name of the corresponding prototype Dwg<br />
file. The file must be located in the LIFTdesigner “dwg”<br />
folder (e.g. C:\Program<br />
Files\LD40\dwg\AcadTest.dwg).<br />
LYGR_PROJECT_UNIT Unit System the “CustomerPrototype.dwg” is<br />
configured for (metric or imperial).<br />
7.2 Setting up the “L_LayerGroupProductTab” Table<br />
Click on the L_LayerGroupProductTab button to add a new record in the table.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
46 Prepare the Layer Configuration Tables __<br />
Column description:<br />
LYGPRPR_RID: This column contains the LayerGroupProduct RID<br />
No., which is automatically filled in by<br />
LIFTdatamanager.<br />
LYGRPR_LYGR_RID: This column contains the RID no. of the<br />
corresponding L_LayerGroupTab table, which is<br />
automatically filled in.<br />
LYGRPR_IX: Index for the L_LayerGroupProductTab table<br />
records.<br />
LYGRPR_DESC: L_LayerGroupProductTab description field. It usually<br />
makes sense to use a description that refers to the<br />
object that you configure the layers for.<br />
LYGRPPR_LDX_RID: This list box field contains all LDX-specific objects<br />
that are available in LIFTdesigner. You can select<br />
the LDXCar object, for example, if you only want to<br />
configure car specific layers, select the<br />
LDXLandingDoor object if you want to configure<br />
landing door specific layers only, etc.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
7.3 Setting up the “L_LayerGroupChangeTab” Table<br />
Prepare the Layer Configuration Tables 47<br />
To configure the global LIFTdesigner layer settings,<br />
select 999 (Default) LDXNone from the list box.<br />
When you configure additional object layers for the<br />
LDXCar object for example, the default layer settings<br />
for this object.<br />
Click on the L_LayerGroupChangeTab button to add new records to the table.<br />
Recommendation for the AutoCAD metric / imperial layer configuration:<br />
We recommend that you configure at least the global LIFTdesigner LDXNone<br />
object layers. This means that you should pass the global LIFTdesigner layers,<br />
dimension styles and text styles to the appropriate AutoCAD layers, as we did it for<br />
the default “AutoCAD Metric” and “AutoCAD Imperial” layer group configuration.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
48 Prepare the Layer Configuration Tables __<br />
Column Description:<br />
LYCHG_RID: This column contains the LayerGroupChange RID<br />
No., it is automatically filled in by LIFTdatamanager.<br />
LYCHG_LYGRPPR_RID: This column contains the RID no. of the corresponding<br />
L_LayerGroupTab table, which is automatically filled<br />
in.<br />
LYCHG_IX: Index for the L_LayerGroupProductTab table records<br />
LYCHG_LYRSRC_ID: In this field you can select between all the default<br />
source layers, dimension, text styles and Blocks that<br />
are being used by LIFTdesigner. Select the source<br />
layers, dimension styles, text styles and blocks from<br />
the list that you want to apply to the different AutoCAD<br />
destination layers, dimension styles, text styles and<br />
blocks.<br />
For example: If you want to apply the car’s Solid Lines<br />
source layer to a specific AutoCAD destination layer,<br />
select the appropriate layer from the list and apply it to<br />
the destination layer in the LYCHG_LYRDEST<br />
column.<br />
LYCHG_LYRDEST: Enter the AutoCAD destination layers, Dimension and<br />
Text Styles (configured in the prototype dwg files) that<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Prepare the Layer Configuration Tables 49<br />
should be applied to the pre-selected LIFTdesigner<br />
source layers. For example, set the destination layer<br />
of the LDXCar component’s solid lines to the<br />
AutoCAD destination layer 2.<br />
LYCHG_COLOR: If the value is set to a value less than “256” (to any<br />
value between 0 and 255), this value will be used as<br />
overwrite color for the selected destination layer in the<br />
prototype <strong>DWG</strong> file. If e.g. the car destination solid line<br />
layer 2 (yellow) in the prototype <strong>DWG</strong> file is<br />
overwritten by the color index 1, set in this field, the<br />
car’s solid lines will be displayed red instead of yellow<br />
in the exported <strong>DWG</strong> file.<br />
7.4 Mapping objects<br />
There are 4 different types of LIFTdesigner objects that can be mapped to different<br />
target objects in the AutoCAD prototype <strong>DWG</strong> file, as you can see in the column<br />
LYCHG_LYRSRC_ID in the table L_LayerGroupChangeTab.<br />
Layer x The layer objects refer to the LIFTdesigner components e.g. the<br />
shaft, the car, the car door, etc. The LIFTdesigner object layers can<br />
either be configured globally (only for the LDXNone object) or for<br />
each single LDX object.<br />
Dimstyle Each LIFTdesigner internal dimension style can be mapped to any<br />
target dimension style in the corresponding prototype <strong>DWG</strong> file. The<br />
mapping can be configured globally (only for the LDXNone object) or<br />
component wise for each single LDX object.<br />
Textstyle The LIFTdesigner internal text style can be mapped to any target text<br />
style in the corresponding prototype <strong>DWG</strong> file.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
50 Prepare the Layer Configuration Tables __<br />
Block Each LIFTdesigner internal static drawing block (e.g. the floor level<br />
symbol, mouse cursors, etc.) can be mapped to a predefined drawing<br />
block (insert) and defined in the corresponding prototype <strong>DWG</strong> file.<br />
Floor entry symbol: Floor level symbol:<br />
Hint for the configuration of the destination blocks in the prototype<br />
<strong>DWG</strong> file:<br />
The cursor symbols (Block_LD_CURSOR_*) must have a scale of<br />
1:1, the scale factor for all other blocks must be adjusted individually.<br />
7.5 Layer Configuration Hints<br />
In general, it is possible to configure the layers, dimension styles and text styles for<br />
all available LIFTdesigner LDX-components (see chapter 7.2<br />
LYGRPPR_LDX_RID descriptions).<br />
7.5.1 AutoCAD layer configuration:<br />
In this context, you need to decide whether you really need to configure the layers<br />
separately for each single LDX-Component (the LDX-components represent the<br />
LIFTdesigner components e.g. the LDXCar component represents the<br />
LIFTdesigner car geometry, etc.). Each LIFTdesigner component has its own<br />
AutoCAD layer configuration or you can use a global layer configuration for all the<br />
LIFTdesigner components (all LIFTdesigner components use the global LDXNone<br />
layer configuration).<br />
If each LIFTdesigner component has its own layer configuration, it means the<br />
target AutoCAD layers for each LIFTdesigner component are different and you will<br />
need to ensure that the target AutoCAD layers are also configured in the prototype<br />
dwg file.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
7.5.2 AutoCAD Mechanical Layer Configuration:<br />
Prepare the Layer Configuration Tables 51<br />
As you can see on the basis of the standard LIFTdesigner AutoCAD Mechanical<br />
layer configuration, we configured (opposite of the standard AutoCAD dwg<br />
configuration) the layers for each single LIFTdesigner component. The reason for<br />
this is that AutoCAD Mechanical provides the possibility to govern the layers in<br />
layer groups. For this reason, we have customized the LDX components according<br />
to the following rule:<br />
The LIFTdesigner LDX components are configured according to the buttons in the<br />
LIFTdesigner Components toolbar. This means that all the components enabled or<br />
disabled by switching the appropriate button in the Components toolbar represents<br />
a Layer Group in AutoCAD Mechanical.<br />
All components that are switched on and off via the corresponding button are<br />
present as LIFTdesigner LDX components.<br />
The shaft components that are switched on and off by the appropriate button in the<br />
Components toolbar are passed to a specified layer group.<br />
Example: The LIFTdesigner car frame as well as the car door is referring to the<br />
Car component button in LIFTdesigner. Similar to this logic, the LDXCar as well as<br />
the LDXCarDoor component are referring to the AutoCAD Mechanical LDCar<br />
target layer group.<br />
Equal AutoCAD<br />
Mechanical<br />
target Layers<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
52 LIFTdesigner Plot Styles __<br />
As you can see in the image above, the target AutoCAD layers for the LDXCar as<br />
well as for the LDXCarDoor component are identical. The target layer syntax in the<br />
LYCHG_LYRDEST field is according to the layer name syntax in AutoCAD<br />
Mechanical:<br />
LDCar: Layer group name<br />
AM_*: Name of the group layer<br />
LIFTdesigner layer group configuration in AutoCAD Mechanical:<br />
AutoCAD Mechanical<br />
Layer Group name<br />
AutoCAD Mechanical layers applied to the LDCar layer group:<br />
Layers applied to the<br />
LDCar Layer Group<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
8 LIFTdesigner Plot Styles<br />
LIFTdesigner Plot Styles 53<br />
As the illustration on page 3 shows, the line weight and screen color settings in the<br />
LIFTdesigner prototype <strong>DWG</strong> file can be overwritten by the settings in the<br />
L_PLotStyleTab table for the PDF, EMF and the LIFTdesigner output.<br />
This behavior doesn’t affect the <strong>DWG</strong> output so far, but to get a general knowledge<br />
about the plot style configuration, it will be explained to this point.<br />
The LIFTdesigner plot style groups can be configured in the LIFTdatamanager<br />
under General Data -> Drawing Related -> Plot Styles, manufacturer 1:Common<br />
components:<br />
8.1 Table L_PlotStyleGroupTab<br />
The L_PlotStyleGroupTab table contains 8 plot style groups, as shown below.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
54 LIFTdesigner Plot Styles __<br />
These are the LIFTdesigner standard Plot Style Groups. The predefined groups<br />
can either be modified or they can be taken as a basis for the configuration of user<br />
defined Plot Style Groups.<br />
L_PlotStyleGroupTab column description:<br />
Column Description<br />
PLSTYGRP_DESC Contains the description of the Plot<br />
Style Group<br />
PLSTYGRP_VIEW_BG_COLOR Defines the background color for the<br />
plot style group that will be used for<br />
the display in LIFTdesigner and for<br />
the PDF and EMF output.<br />
PLSTYGRP_MODE The following modes can be set:<br />
Mode<br />
1:<br />
Mode<br />
2:<br />
Mode<br />
4:<br />
This mode is set if the<br />
plot styles, configured in<br />
the plot style group, have<br />
an individual line weight.<br />
This mode is set if the<br />
plot styles, configured in<br />
the plot style group, are<br />
colored.<br />
This mode is set if a<br />
colored background is<br />
used ( White).<br />
PLSTYGRP_MSGNO_RID This column contains the message<br />
no. for the translation of the Plot<br />
Style name.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
8.2 Table L_PlotStyleTab<br />
LIFTdesigner Plot Styles 55<br />
The concatenated child records in the L_PlotStyleTab table contain the<br />
configuration of the 256 colors with an index range from 0 to 255. The color &<br />
index mapping is equal to the mapping in AutoCAD e.g. color “Red” in column<br />
PLSTY_DESC is concatenated to the index “1”, set in column PLSTY_IX..<br />
Now if e.g. the car outline is mapped to the AutoCAD destination layer “1” in the<br />
Layer Configuration (table L_LayerGroupChangeTab, column<br />
LYCHG_LYRDEST), the destination layer information will be taken from the<br />
corresponding prototype <strong>DWG</strong> file e.g. Tables2000.dwg (screen color = red, line<br />
weight = default, line type = default).<br />
After all necessary information is taken from the prototype <strong>DWG</strong> file, the color<br />
index (“1” for red) of the destination layer “1” is searching in the L_PlotStyleTab<br />
table records of the used parent plot style group.<br />
Finally, the destination color taken from the prototype <strong>DWG</strong> file is replaced with the<br />
color configured in the column PLSTY_SCREEN_COLOR of the table record<br />
containing the index “1” in the column PLSTY_IX. The overwrite color in this<br />
column can be configured individually.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
56 LIFTdesigner Plot Styles __<br />
The line weight is overwritten in the same way. The line weight of the destination<br />
layer taken from the prototype <strong>DWG</strong> file will be replaced with the value set in the<br />
column PLSTY_PLLW_RID. If the line weight shall not be set for this plot style<br />
group, a “-1” must be entered into the field.<br />
As an additional option, the line end style and the line join style of the destination<br />
layers can be overwritten via the columns PLSTY_LINE_END_STYLE and<br />
PLSTY_LINE_JOIN as well.<br />
8.3 Changing the plot Style Group in LIFTdesigner<br />
In LIFTdesigner, the plot style group can be changed via the LIFTdesigner Project<br />
toolbar, or via<br />
the menu entry: Project -> Plotstyles.<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Appendix 57<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
58 Appendix __<br />
9 Appendix<br />
9.1 Supported <strong>DWG</strong> Elements<br />
In general all operations are in the XY plane only and all supported elements are<br />
displayed as 2D. There is no support for 3D <strong>DWG</strong> files.<br />
9.1.1 LINE<br />
No known limitations.<br />
9.1.2 ARC<br />
No known limitations.<br />
9.1.3 CIRCLE<br />
No known limitations.<br />
9.1.4 POLYLINE<br />
No known limitations.<br />
9.1.5 TEXT<br />
Text is displayed according to the assigned text style. In particular the text option<br />
"fit" is not supported.<br />
9.1.6 MTEXT<br />
Same limitations as text. MText is a very complex display language. For that<br />
reason we cannot guarantee all options working perfect.<br />
The following commands are implemented:<br />
\O (overline), \L (underline), \P (paragraph), \~ (no break space),<br />
\S (stacking) including \S..^... and \S...#...<br />
\A (Alignment), \C (color), \T (Space), \W (Width), \Q (Oblique)<br />
\Hx (heihgt factor, \HX (absolute height)<br />
\F, \f (font)<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
%%c<br />
In particular not supported:<br />
- Tables and columns<br />
9.1.7 BLOCKS<br />
Dynamic blocks are not supported<br />
9.1.8 HATCHES<br />
Hatches can be displayed when the hatch was shown in AutoCAD. Exported<br />
hatches are shown in the correct hatch style, but are exported as block.<br />
9.1.9 DIMENSIONS<br />
Appendix 59<br />
Limitations with regard to rarely used dimension style like ordinate, etc. In most<br />
cases these styles can be displayed in LIFTdesigner nevertheless, because the<br />
dimension is stored in the <strong>DWG</strong> file as block, and can be rendered by this option.<br />
9.1.10 OTHER ELEMENTS<br />
All other objects are not supported.<br />
In particular OLE objects and bitmaps are not supported.<br />
9.2 Supported Tables<br />
9.2.1 LAYER TABLES<br />
No know limitations.<br />
9.2.2 DIMSTYLES<br />
Dimension styles are read be LIFTdesigner and are taken to render the layout of<br />
9.2.3 TEXTSTYLES<br />
Text styles are supported.<br />
9.3 Supported <strong>DWG</strong> Versions<br />
All <strong>DWG</strong> versions up to the 2011 <strong>DWG</strong> format are supported.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
60 Appendix __<br />
9.4 <strong>DWG</strong> rendering process<br />
If the displayed results are wrong this may have several reasons.<br />
It is important to understand the drawing generation process.<br />
When a drawing is generated in LIFTdesigner, the drawing is assembled by many<br />
<strong>DWG</strong> files,<br />
1. The prototype drawings<br />
2. Blocks that are displayed in selections and annotations are added in particular<br />
step 2 can deliver unpredictable results, because the sequence of the drawing<br />
generation is important.<br />
9.4.1 "The first definition wins":<br />
This is correct for all tables.<br />
Example:<br />
If you have 2 <strong>DWG</strong> files with a layer "BORDERDEMO". If the layer is red in one<br />
<strong>DWG</strong> and blue in the other <strong>DWG</strong> file, the result may be red or blue inside<br />
LIFTdesigner, depending on the generation sequence.<br />
If you want to be sure that the layer is red, please add the layer to your prototype<br />
drawing, and define it as red.<br />
The same is similar for blocks. If you have the same block name in 2 <strong>DWG</strong> files<br />
that are displayed on your drawing, the first definition is used in both cases.<br />
9.4.2 Final recommendations<br />
- If you have problems with MTEXT, explode it in AutoCAD and try again<br />
- It is always a good idea to PURGE (German: "BEREINIG") all <strong>DWG</strong>s that needs<br />
to be shown in LIFTdesigner<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s
Appendix 61<br />
© 2010 <strong>DigiPara</strong> CAD/CAM Hard and Software Service GmbH, Augustinusstr. 11 d, 50226 Frechen, Germany.<br />
__________________________________________________________________<br />
LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s © <strong>DigiPara</strong> GmbH
62 Appendix __<br />
__________________________________________________________________<br />
© <strong>DigiPara</strong> GmbH LIFTdesigner <strong>DWG</strong> <strong>Interface</strong>s