Nigel @ Hallam Garden Desi Posted April 24, 2006 Share Posted April 24, 2006 Here's the process I've gone through: 1 Imported DWG file 2 Converted polyline contours to polygons 3 Entered relevant data in 2D polys to 3D contour dialogue box & click OK 4 When Set Elevation dialogue box appears - all contours disappear 5 Click Next button - one, seemingly random poly has been converted & I get the final dialogue box asking me if I'd like to delete the original 2D polygons. The net result is that only one 3D contour has been produced. - any suggestions? Quote Link to comment
islandmon Posted April 24, 2006 Share Posted April 24, 2006 Trick ... copy a couple of those polys to a new file then export as Vectorscript. Open the export with a text editor and take a look at the {Object Creation Code} coordinates. They must be in the form 'x,y,z'. here's the correct syntax for 3D Locus creation: NameObject('1');Locus3D(5000,5000,100); Record(LNewObj,'SURVEY'); Field(LNewObj,'SURVEY','ELEV','100'); Field(LNewObj,'SURVEY','DESCRIPTION','nls'); FPatByClass; FillColorByClass; LSByClass; PenColorByClass; LWByClass; MarkerByClass; Quote Link to comment
Nigel @ Hallam Garden Desi Posted April 25, 2006 Author Share Posted April 25, 2006 Thank you islandmon - I'm afraid my expertise doesn't run to interpreting Vectorscript, but here's what it is: {Object Creation Code} Marker(0,0.444458,15); NameClass('contours'); LSByClass; PenColorByClass; LWByClass; FillPat(0); FillFore(48059,48059,48059); FillBack(48059,48059,48059); Poly( 20.367266665892018,-8.427288888402076, 18.993157893907394,-11.368289472908405, 21.280883720457247,-12.892046510710014, 22.479617020317487,-14.384297871749437, 26.382275861191726,-17.59920689605714, 29.407026314864567,-16.068684209780773, 31.006674417858402,-16.327209301469804, 31.936566036790449,-16.041471697715657 ); Suffice to say that the conversion from 2D polys to 3D contours is not working - I've tried it out on a number of imported files and always get the same problem. Can anybody help? Quote Link to comment
islandmon Posted April 25, 2006 Share Posted April 25, 2006 The {Object Creation Code } for the Poly(....); lacks a Z value. Hence no 3d contours. There must be 3 strings one for each value X,Y,Z, Neat trick , hey. Now just go and add some Z values ... and watch what happens. FYI : Record(LNewObj,'SURVEY'); Field(LNewObj,'SURVEY','ELEV','100'); Field(LNewObj,'SURVEY','DESCRIPTION','nls'); Represents Record= 'SURVEY' with Field= 'Description ' = 'nls' Quote Link to comment
Guest Posted April 25, 2006 Share Posted April 25, 2006 Nigel, The best thing to do is import the DWG using the 3D only settings. By importing 2D and 3D, the default view items are what gets imported - this means everything comes in as 2D. As long as the items are 3D in the DWG file, you shouldn't have to do much work other than line cleanup. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.