C# Class ARUP.IssueTracker.Revit.RevitWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Show file Open project: ArupAus/issue-tracker Class Usage Examples

Public Properties

Property Type Description
uiapp UIApplication

Public Methods

Method Description
GetViewCoordinates ( Document doc, VisualizationInfo viewport ) : Tuple

returns XYZ and ZOOM/FOV value

RevitWindow ( UIApplication _uiapp, ExternalEvent exEvent, ExtOpenView handler ) : System

Constructor

Private Methods

Method Description
AddIssue ( string path, bool isBcf ) : Issue>.Tuple

Add Issue

AddIssueBCF ( object sender, EventArgs e ) : void

Add Issue to BCF

AddIssueJira ( object sender, EventArgs e ) : void

Add Issue to Jira

ConvertBasePoint ( XYZ c, XYZ view, XYZ up, bool negative ) : ViewOrientation3D

changes the coordinates accordingly to the project base location to an absolute location (for BCF export) if the value negative is set to true, does the opposite (for opening BCF views)

GetXYZ ( double x, double y, double z ) : XYZ

Get XYZ

Open3dViewBCF ( object sender, EventArgs e ) : void

Open 3D View - BCF

Open3dViewJira ( object sender, EventArgs e ) : void

Open 3D View - Jira

Window_Closing ( object sender, CancelEventArgs e ) : void

passing event to the user control

doOpen3DView ( VisualizationInfo v ) : void

Open a 3D View

generateViewpoint ( int elemCheck ) : VisualizationInfo

Generate Viewpoint

Method Details

GetViewCoordinates() public method

returns XYZ and ZOOM/FOV value
public GetViewCoordinates ( Document doc, VisualizationInfo viewport ) : Tuple
doc Document
viewport VisualizationInfo
return Tuple

RevitWindow() public method

Constructor
public RevitWindow ( UIApplication _uiapp, ExternalEvent exEvent, ExtOpenView handler ) : System
_uiapp UIApplication
exEvent ExternalEvent
handler ARUP.IssueTracker.Revit.Entry.ExtOpenView
return System

Property Details

uiapp public property

public UIApplication uiapp
return UIApplication