Autodesk GIS Design Server
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
*Richard Horrocks [Autodesk]
Steps to migrate the electric applicatio n (AGDS 7) to the GenApp fremework (AGDS 8.x)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
170 Views, 0 Replies
04-30-2004 01:15 PM
Here I am sending you the steps that you have to follow to include the
electric application (from AGDS7) in the GenApp framework. This procedure
will allow you include the electric application in the GenApp DB with any
coordinate system, then the problem should be that there are not any data
loaded. But if you want to migrate the data from the electric DB in AGDS7,
first of all, create the GenApp DB with the same coordenate of the Electric
DB in AGDS7, then go through the process that I am sending you, and when you
finish with this, create a GINA File from te Electric DB and then you have
to include in the Rational Rose model for GenApp, everything from the
'Electric Model' (this can be done selection everything from the Electric
Model Ctrl-C and Ctrl-V in the GenApp model, also you have to include the
symbolization rules for the Electric application in the XML file where is
the Symbolization rules for the GenApp.
The procedure consist in run several scripts in the server site, and .
Here I assume that you've already created the GenApp database, the name of
the database that I use as example will be "GenAppDb" and the passwork
"test". And my AGDS user will be "agds8".
Server Site:
1- Copy the files "sever.gml, connectivity.gml, server_completion.gml,
eva.gia, populateGview.sql," to one directory in the server site.
2- We will create the electric eschema inside the GenAppDb, running the
"server.gml" script from a DOS window as "agds8" user.
Edit the "sever.gml" and in the statement change for the name of your DB and
your password (this is in the begining)
Open Database GenAppDb test;
and in the bottom
Close Object GenAppDb;
then in the DOS run the script
C:\temp>gmlp server
Note: In my particular case I had to run this script twice, because, didn't
insert all the networks and layer. I don't know why, but the second time
worked fine. I realized of this when I tried to create an object when
everything was done.
3- create the connectivity definition in the OPS$ user.
Edit the script "connectivity.gml" and replace "agds8", for the value of you
OPS$ user (ex OPS$/vision), and run the script with the OPS$ user password
as a parameter.
C:\temp>gmlp connectivity content
4- Complete the Server DB creation runnig the "server_completion.gml"
script. The paremeters are, you database, the password and the password of
the OPS$ user.
C:\temp>gmlp server_completion GenAppDb test content
5- Load the features code of the electric model in the GenApp feat_code
library.
Run the "dsAdmin" select the "Feature Code Definitions" and select the
"GenApp" library (or the library that you are using).
Then, from the menu select File>Import, and search the file "eva.gia", click
OK and the features codes will be load. Then exit from the dsAdmin.
6- Populete the Gview table, to be able to use the simbology rules.
Run the script "populateGview.sql" in this way.
C:\temp>sqlplus GenAppDb test @populateGview.sql
Client Site:
1- Copy the file "ruleeditorsample.dwt" in the directory C:\...\Autodesk
Map5\template\.
Right Click on the Autodesk Map Icon and in the Target field replace the
current file name for this one.
"C:\Program Files\Autodesk Map 5\acad.exe" /t ruleeditorsample.dwt
Close the Properties dialog box.
Do the same in the "agds.ini" file.(c:\Program Files>Autodesk>GIS Design
Server>Autodesk Client Components\config)
2- Copy the files "genApp.mdl,ElectricNetwork.cat, genAppModel.mdb,
genApp.xml" in the directory
c:\Program Files>Autodesk>GIS Design Server>Autodesk Client
Components\GenApp\config
Then the Electric application will be available in the GenApp menu. Also you
will see from the Create menu the option "AcDbEntity", this one will allow
you to create blocks and AcDbCurve entities with defaul values.
This doesn't include the migration of the Classification Mapping for the
Electric Application.

