You are on page 1of 7

CAD Library 2005

Goal: describe the entry data format to enable countries to add data in CAD Library
Scope: CAD Library
Reference / Version : 1.0

Document status

draft

Confidentiality

yes

Related document reference, title

Function
Project Manager
Project Manager

Author
Owner
Verified by
Approved by

validated

no

Must be read prior to this one (Y/N)?

Name
BRANCHE A.
BRANCHE A.
GASPAR L.
GASPAR L.

Distribution

Function

Name

Audience

Function

Name

signature

Date
03/03/05

11/04/05

Document location :

1.0
Index

10/02/2005
Date

BRANCHE A. Creation
Author
Reasons for change

Changed sections

Table of content
1

INTRODUCTION...................................................................................................................................................3

CAD LIBRARY FILES ORGANIZATION .............................................................................................................4

DATA DESCRIPTION FILES................................................................................................................................4


3.1
CONTENT OF THE DATA DESCRIPTION FILE..........................................................................................................4
3.1.1
Header ....................................................................................................................................................4
3.1.2
Data rows................................................................................................................................................4
3.1.3
Entry points .............................................................................................................................................5
3.1.4
Limitations ...............................................................................................................................................5

DATA FILES .........................................................................................................................................................5

BINARY FILES......................................................................................................................................................5

OPTIONS AVAILABLE IN THE .INI FILE ............................................................................................................6

SETTINGS MENU .................................................................................................................................................7

DES_CAD_Library_2005_Adaptation_EN.doc

Page 2/7

1 Introduction
CAD Library is a software that displays AutoCAD schemes (WMF format) of Schneider products using a
treeview. The software provides also an export functionality (formats DWG, DXF, DWF) and a direct link with
AutoCAD.
CAD Library data can be updated without modifying the software the aim of this document is to explain
how. Basically the main steps are:

Generate data description files

Generate the files (DWG and WMF formats)

Update the binary files used by CAD Library

Additionally some options can be configured in a .INI file called SE_CadLibrary2005.ini and through the
File -> Settings menu.

DES_CAD_Library_2005_Adaptation_EN.doc

Page 3/7

2 CAD Library files organization


CAD Library files are sorted as follows :
all software files (.exe, .dll, ) are located in the main directory
all data files are located in sub-directories from the main directory
Data sub-directories must contain:
data description files called data*.txt
a directory called WMF that contains the associated WMF files
a zip file called dwg.zip that contains the associated DWG files
Each sub-directory can contain several data description files.
A sub-directory can be a chapter of Schneider catalog for example.
Note: the DWG files can also be unzipped and available in a directory called dwg (same level as wmf
directory).

3 Data description files


The name of the data description files is data*.txt where the * describes the file content.
As en example, the files available on the CD are called after their date, language and Schneider chapter, i.e.
data_Connection_btp_050405en.txt.

3.1

Content of the data description file


Data description file is made of 3 sections:
Header
Data rows
Entry points
For each drawing, the full path will be made of:
1. Chapter (available in the INFO field)
2. Entry point
3. Hierarchy (\ is the separator)

3.1.1

Header
INFO=chapter
DATE=
LANGUE=FR or EN

3.1.2

optional
not used

Data rows
File name<TAB>Hierarchy<TAB>Entry point
Each row is made of :
File name : name of the drawing with no extension. The associated files are available in wmf directory and
dwg.zip file.
Hierachy : path to go to the drawing from the chapter and the entry point. The separator is \.
Example:
DES_CAD_Library_2005_Adaptation_EN.doc

Page 4/7

XCT16M4F
:XCT16M4F

Remote control\CT contactors\CT\manual contactors\4P\16-25A\front view : file nb.

Entry point : each drawing can be accessed through different entry points. Entry point is optional. If no
entry point is specified, then the full path to go to the drawing will be :
1. Chapter
2. Hierarchy
Example:
XCT16M4F

3.1.3

Remote view : file nb. :XCT16M4F

ID_2

Entry points
[LIB]
Entry point<TAB> Entry point description
The entry point description is mandatory.
Example:
[LIB]
ID_2
Final power distribution devices and enclosures

3.1.4

Limitations
All these fields are subject to 2 limitations:
Total size of each line no more than 1024 characters
Windows full path no more than 255 characters

4 Data files
The drawings must be available as DWG and WMF files.
DWG files are moved to associated dwg.zip files (see chapter 2).
WMF files are moved to associated wmf directories (see chapter 2).
Check that the DWG versions of the files are compliant with the AutoCAD releases used by your customers
and if needed convert the files to the lowest format.

5 Binary files
Binary files generated by the software allow a quickest browse of the hierarchy. These files are generated at
the first launch of the application if they do not exist.
After you have prepared your data for adaptation, the following steps must be done:
Copy all data in the main directory
Delete all cadlibdata*.bin from the main directory
Launch CAD Library in English
Launch CAD Library in French
Now data is ready to be used on a CD.

DES_CAD_Library_2005_Adaptation_EN.doc

Page 5/7

6 Options available in the .INI file


SE_CadLibrary2005.ini file enables to parameter some options of the software :

GLOBAL section:
o Name of the first node of the hierarchy (1)
o Data and revision available on the splash screens (2)
DISPLAY section:
o Logo (3)
o Splash screens (4)
o Adaptation menu (visible / not visible) please note that the menu ill be visible only if the
option is set to 1 and the file is available in the main directory. (5)

Exemple:
[GLOBAL]
1
Application=CADlibrary2005
version=1.00r02a
Copyright=2005 Schneider Electric, AlpCAD Software SA and OptiTECH
Date=20050406
VERSION_FR=Version 1.00r02a (06/04/2005)
UPDATE_FR=Avril 2005
2
VERSION_EN=Version 1.00r02a (2005/04/06)
UPDATE_EN=April 2005
[PARAMETERS]
CurrentLanguage=
TreeRootInfo_EN=CAD Library 2005
TreeRootInfo_FR=CAD Library 2005
MainWindowTitle_EN=AutoCAD Library Schneider Electric
MainWindowTitle_FR=Bibliothque AutoCAD Schneider Electric
CreateSubdirectoryOnExport=1
CleanTree=0
[DISPLAY]
;SchneiderLogoBitmap=LogoSchneider.bmp
3
SchneiderLogoBitmap= LogoSchneider.bmp
SplashBitmapFR=SCADFR_loading.bmp
SplashBitmapEN=SCADFR_loading.bmp
4
AboutBitmapFR=SCADFR_version.bmp
AboutBitmapEN=SCADFR_version.bmp
XY_BitmapVersion=20,280
XY_BitmapUpdate=20,250
StartSplash=1
StartSplashDelay=300
TopFen=0
HelpMenuAdaptationOption=1
AdaptationPdfFile=DES_CAD_Library_2005_Adaptation_EN.pdf
HelpMenuTechnicalInfoOption=0
TechnicalPdfFile=CADlibrary2005_TechnicalInfo.pdf

DES_CAD_Library_2005_Adaptation_EN.doc

Page 6/7

7 Settings menu
The following options are available in the File -> Settings menu:

Language : french or english


Proposed by default at the first run of the application

AutoCAD : useful to specify the location of AutoCAD software if the installation was not standard or
to precise which AutoCAD version to use on the PC

More :
o
o
o
o
o
o
o

Splash screen display


Add by default the current node during the export
Create by default the dwf, dwg, dxf, wmf directories during export
Search and ask to remove the previous version when starting the application
Clean up the users PC when exiting through the two options Delete temporary directory and
Delete User key registry
Enable the collapse of all sub-nodes of the selected node during the Collpase command
instead of collapsing only the selected node
Change the black background WMF to white background WMF on printing

DES_CAD_Library_2005_Adaptation_EN.doc

Page 7/7

You might also like