RenderSourceView

Helper class to get the correct view from the Render View Source settings. An instance of this class is supposed to be used with the using() {} construct.

Constructors

RenderSourceView

#Since v6.0
public RenderSourceView(RhinoDoc doc)
Create a new RenderSourceView for the given doc. Note that this should be done with using(var rsv = new RenderSourceView(doc)) {} If the RenderSettings have the source view set to for instance a SnapShot this construct will ensure that the (active) view is set to the correct snapshot, and reverted back to the original once this instance goes out of scope.
doc (RhinoDoc)Rhino document

Finalizer

~RenderSourceView

#
~RenderSourceView()

Methods

Dispose

#Since v6.0
public void Dispose()

Dispose

#
protected virtual void Dispose(bool isDisposing)
isDisposing (bool)

GetViewInfo

#Since v6.0
public ViewInfo GetViewInfo()
Get the ViewInfo as specified by the render source view settings.
ViewInfo if view was found, null otherwise