Author Topic: 3d files problem  (Read 2462 times)

0 Members and 1 Guest are viewing this topic.

diarmuid

  • Bull Frog
  • Posts: 416
3d files problem
« on: June 07, 2006, 07:13:36 AM »
Help sought on file conversion.

When 3d modelling in structural steel, there is an industry standard for exporting/importing files within various 3d structural based packages.  This is known as SDNF (Steel Detail Neutral File).  Its quite similar to the concept of of DXF, except it doesn’t actually contain graphical data, it contains member sizes, loction points, dates, levels etc.

My problem is this.  We use one piece of software called 3D+,  this is a one stop structural tool that allows us to produce drawings, calcs tec.  We export, via SDNF, to other packages one of them being PDS which is an Intergraph product.  The sdnf file type that we are using is Version 2.  PDS will not read version 2 it will only read version 3.  the difference is below


Version 3

# Frameworks Plus Version : 08.00.00.12
Packet 00
"SDNF Version 3.0"
"Intergraph"
"test"
""
""
"5/30/06" "17:24:41"
0 ""
""
0
Packet 10
"meters" 73
   
00600002 10 0 0 "Column" ""  0
"UB356X45" "43" 0.000000 0 0
0.000000 1.000000 0.000000 239.0574 89.2580 0.3250 239.0574 89.2580 5.1000 0.000000 0.000000
0.000000 0.000000
0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
0 0 0 0 0 0 0 0 0 0 0 0
0 ""  0 "5/30/06" "15:44:12" "5/30/06" "15:44:12" 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0.000000 0 0 0.000000 0.000000
0 0 0 0 0 0



Version 2

Packet 00
""
""
""
""
"05-23-06" "14:59:48"
0 "0"
"BS5950:Pt1:2000;BS5268:Pt2:1996;BS8110:Pt1:1997;"
0
Packet 10
"mm" 277

1 5 0 0 "COLUMN" "COLUMNS1ST/2" 0
"UC305X97" "S275" 0.00 0 0
0.000000 1.000000 0.000000 1205.450000 596.550000 43615.000000 1205.450000 596.550000 53525.000000 0.000000 0.000000
0.000000 0.000000
0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
0 0 0 0 0 0 0 0 0 0 0 0



Essentially the information on the last 4 lines (shown red) is information that is required on newer versions of other  programmes.  It is information that we dont need BUT, it still is required in the file, so it can be imported into PDS.
Would it be possible to run a macro, script, etc..etc.. that will look for each member (in the version 2 file), drop down to the last line and insert 4 extra lines (the information will be irrelevant to us but it would have to set up before hand but it would be essentially "dummy information")

I really think that this would be a peice of pi55 for someone who knows abit about software.

thanks in advance
If you want to win something run the 100m, if you want to experience something run a marathon