Talk About Network

Google





Computer Aided Design - CAD > Programming with Microstation > Re: Store Micro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 8 Topic 378 of 479
Post > Topic >>

Re: Store MicroStation Elements in a Microsoft SQL Server database

by "shawn" <zxning@[EMAIL PROTECTED] > Jan 9, 2006 at 01:57 PM

>I have not successfully foung much information about
>DesignFileToSQLLoader or fsagsql on Internet

I won't be surprised as there are very limited users of these
Intergraph products

>>If saving a DGN file in a row in the database, I would guess that saving
a
>>single element would be just as easy.

No, it is not. Saving the whole file in one row is much simpler. It is
just like save a picture in SQL Database.
Saving each element in a row is a different story. You will need to
break the file into pieces first. It is not that difficult as the file
format of V7 is open and simple. Then the show stopper comes, if you
want a database field for color, type or level or some other
information of this element, you will have to parse each block of the
bytes. For example, the first two byte of each element tell you the
color, level and type of this element.

>Which data type would I need to use for the MS elements within SQL
>Server? And if saving the whole DGN file; which data type would that
>be?

The maximum size of a dgn file (v7) is 32M. The maximum size of an
element is 64K (Not sure about this). So MSSQL image data type is your
only option.

Are those dgn files V7 or V8? Do you need query them later by color or
level, etc?
 




 8 Posts in Topic:
Store MicroStation Elements in a Microsoft SQL Server database
"hsa76" <hsa  2006-01-06 15:29:20 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"dalius.dobravolskas  2006-01-07 00:47:33 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"shawn" <zxn  2006-01-09 05:31:16 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"hsa76" <hsa  2006-01-09 11:57:01 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"shawn" <zxn  2006-01-09 13:57:06 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"hsa76" <hsa  2006-01-09 14:56:40 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"shawn" <zxn  2006-01-10 07:29:22 
Re: Store MicroStation Elements in a Microsoft SQL Server databa
"hsa76" <hsa  2006-01-10 08:02:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:34:38 PST 2009.