Apr 11, 2016 Beschrijving. Jan 13, 2011 Excerpt from SofTutor's Teacher inside of AutoCAD 3D product. Topic 05.3 covers drawing a polyline in 3D. Master AutoCAD 3D in 8 hours buy full product (75 l.
This command allows you to offset a 3D polyline entity in both the horizontal and vertical directions. There are five offset methods. The Interval method applies one horizontal and one vertical offset to all the vertices of the polyline. The Constant method has a horizontal offset and sets the elevation of the polyline to one constant elevation. The Variable method allows you to specify each horizontal and vertical offset individually either by polyline segment or for each point. The vertical offset can be specified by actual vertical distance, percent slope or slope ratio.
The surface method allows to offset/project a 3D polyline entity on to a surface (tin;flt;grd) based on cut and fill outslope ratio.
The multiple method allows multiple offsets of a 3D polyline with separate layers. User can add, insert and delete offsets rows and set individual layers. The option Progressive Offsets draws offsets progressively, i.e. successive offsets uses last drawn offset as base.
Prompts
Enter the offset method [<Interval>/Constant/Variable/Surface/Multiple]:press Enter
Vertical/<Horizontal offset amount>:15
Percent/Ratio/Vertical offset amount <0>:10
Select a polyline to offset (Enter for none):select a 3D poly
Select side to offset:pick a point
Select a point on the graphics screen that is in the direction of the side of line to offset.
Select a polyline to offset (Enter for none):press Enter
Vertical/<Horizontal offset amount>:15
Percent/Ratio/Vertical offset amount <0>:10
Select a polyline to offset (Enter for none):select a 3D poly
Select side to offset:pick a point
Select a point on the graphics screen that is in the direction of the side of line to offset.
Select a polyline to offset (Enter for none):press Enter
Pulldown Menu Location: Edit > 3D Polyline Utilities
Keyboard Command: offset3d
Prerequisite: Plot the 3DPoly lines to use for selection.
Keyboard Command: offset3d
Prerequisite: Plot the 3DPoly lines to use for selection.
![Carlson offset 3d polyline Carlson offset 3d polyline](https://kobilabs.com/wp-content/uploads/2019/04/3D-Offset.png)
PublicSub Offset3DObject()
' Get the current document and database
Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument Dim acCurDb As Database = acDoc.Database ' Start a transactionUsing acTrans As Transaction = acCurDb.TransactionManager.StartTransaction() ' Open the Block table for readDim acBlkTbl As BlockTable acBlkTbl = acTrans.GetObject(acCurDb.BlockTableId, OpenMode.ForRead) ' Open the Block table record Model space for writeDim acBlkTblRec As BlockTableRecord acBlkTblRec = acTrans.GetObject(acBlkTbl(BlockTableRecord.ModelSpace), OpenMode.ForWrite) ' Create a 3d polylineDim p3d AsNew Point3dCollection p3d.Add(New Point3d(0, 0, 5)) p3d.Add(New Point3d(10, 0, 5)) p3d.Add(New Point3d(10, 10, 5)) Dim acPoly AsNew Polyline3d(Poly3dType.SimplePoly, p3d, False)' Offset the polyline a given distanceDim acDbObjColl As DBObjectCollection = acPoly.GetOffsetCurves(1.0) acutPrintf(acDbObjColl.Count) 'it returns 0 ' Step through the new objects createdForEach acEnt As Entity In acDbObjColl ' Add each offset object acBlkTblRec.AppendEntity(acEnt) acTrans.AddNewlyCreatedDBObject(acEnt, True) Next' Save the new objects to the database acTrans.Commit() EndUsingEndSub