Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

figure prefixes

3 views
Skip to first unread message

Przemek

unread,
Apr 26, 2000, 3:00:00 AM4/26/00
to
Which line in sdsk.dfm file tells sdsk in which directory it should look for
figure prefix file fig_pref.db ?
I am looking at this sdsk.dfm and can't find it...
I also can't find line in sdsk.dfm which would tell sdsk where to look for
my custom borders...
Help,
Przemek,


Laurie Comerford

unread,
Apr 28, 2000, 3:00:00 AM4/28/00
to
Hi,

The fig_pref.db and fig_pref.txt locations are hard coded.

--

Regards

Laurie Comerford
CADApps
Przemek <prz...@surveyorsland.com> wrote in message
news:ef035...@WebX.SaUCah8kaAW...

Przemek

unread,
Apr 28, 2000, 3:00:00 AM4/28/00
to

Laurie, thank you for your input,
Correct me if I am wrong: if I make changes to fig_pref.db file (i.e. create
new figure prefixes) from within S8 it doesn't change fig_pref.txt file; but
if I delete fig_pref. db file and add new figure prefixes to fig_pref.txt
file it will create new fig_pref.db file with next session of S8 and this
new fig_pref.db file will contain new figure prefixes?
Now, each line of fig_pref.txt file has format e.g.:
CURB CURB 1 0
I understand that first 2 entries are for figure prefix and layer name but
what is this 1 and 0 for?
Also, if it is not too much to ask, I posted many times question about where
in sdsk.dfm path to my custom borders is stored? Is it also hard coded?
If something is hard coded you cannot edit it and store the source files on
server so all computers in network could use them simultanously, correct?
I wish it could be stored the same way as project.dsc file is with Sofdesk
prototype...

Thank you again for your advice,
Przemek Panek


David Mott [Autodesk Support]

unread,
May 15, 2000, 3:00:00 AM5/15/00
to
Hi Przemek,

The Figure Prefix Library is referenced by all projects. The Figure Prefix
Library is stored in the default prototype fig_pref.db file, found in the
\data\survey folder. If the fig_pref.db file doesn't exist, it will be
automatically created from the default prototype fig_pref.txt file found in
the
\data\survey\lng folder.

You may customize the Figure Prefix Library by editing the fig_pref.txt file
with an ASCII file editor, such as Notepad.exe. Delete the fig_pref.db file,
and
the new fig_pref.db file will be recreated from the customized fig_pref.txt
file. Each figure that begins with the same values as in the Figure Prefix
Library will be controlled by that library entry. For instance, EP1, EP2,
and
EP3 will all be controlled by the figure prefix of EP unless each is
specifically included in the library as a separate figure name. Changes to
this
file do not affect existing figures, only newly created figures.

The format of the fig_pref.txt file is description/layer/(1 for draw, 0 for
do
not draw)/(1 for break, 0 for nonbreakline) as shown below. The two numbers
at
the end of each line are place holders carried over from previous versions
of
the file format.

EP EP 1 1
E ELECTRICAL 1 0
SWL SWALE 1 1
SW STONEWALL 1 0
222 TOC 1 1
22 FOC 1 1
2 BOC 1 1

-Dave-

David Mott
AEC Product Support, Americas
WW Support & Services, Autodesk


0 new messages