C# Class RevitLookup.Graphics.GraphicsStreamRevit

Inheritance: GraphicsStream
Mostrar archivo Open project: jeremytammik/RevitLookup Class Usage Examples

Public Methods

Method Description
GraphicsStreamRevit ( Autodesk app ) : System
PopXform ( ) : void
PushXform ( Transform mat ) : void
StreamWcs ( Arc arc ) : void

Override Arcs since we can make an optimal Arc Model Line before it gets broken into tesselated segments.

StreamWcs ( Ellipse ellipse ) : void

Override Ellipses since we can make an optimal Ellipse Model Line before it gets broken into tesselated segments.

StreamWcs ( NurbSpline nurbSpline ) : void

Override Splines since we can make an optimal Spline Model Line before it gets broken into tesselated segments.

StreamWcs ( XYZ pt1, XYZ pt2 ) : void

Only required override. If we didn't override any of the other geometry signatures, everything would get broken down into line segments (even Ellipse and Arc)

Private Methods

Method Description
SetSketchPlane ( ) : void

Set the current SketchPlane to be the same as the UCS Xform currently on the stack. This allows lines in that plane to be grip edited in the same plane as would be expected.

Method Details

GraphicsStreamRevit() public method

public GraphicsStreamRevit ( Autodesk app ) : System
app Autodesk
return System

PopXform() public method

public PopXform ( ) : void
return void

PushXform() public method

public PushXform ( Transform mat ) : void
mat Transform
return void

StreamWcs() public method

Override Arcs since we can make an optimal Arc Model Line before it gets broken into tesselated segments.
public StreamWcs ( Arc arc ) : void
arc Arc arc to create
return void

StreamWcs() public method

Override Ellipses since we can make an optimal Ellipse Model Line before it gets broken into tesselated segments.
public StreamWcs ( Ellipse ellipse ) : void
ellipse Ellipse ellipse to create
return void

StreamWcs() public method

Override Splines since we can make an optimal Spline Model Line before it gets broken into tesselated segments.
public StreamWcs ( NurbSpline nurbSpline ) : void
nurbSpline NurbSpline spline to create
return void

StreamWcs() public method

Only required override. If we didn't override any of the other geometry signatures, everything would get broken down into line segments (even Ellipse and Arc)
public StreamWcs ( XYZ pt1, XYZ pt2 ) : void
pt1 XYZ start point
pt2 XYZ end point
return void