C# Class SpaceClaim.AddInLibrary.NoteHelper

显示文件 Open project: bcourter/SpaceClaim-AddIns

Public Methods

Method Description
AnnotateFace ( Part targetPart, DesignFace face, string comment ) : void
AnnotateFace ( Part targetPart, DesignFace face, string comment, double textHeight, Direction direction ) : void
CreateOrGetLayer ( Document doc, string name, System color ) : Layer
GetNoteLocation ( INote note, HorizontalType horizontalType, VerticalType verticalType ) : PointUV
GetPlaneCenteredOnFace ( DesignFace face ) : Plane

Method Details

AnnotateFace() public static method

public static AnnotateFace ( Part targetPart, DesignFace face, string comment ) : void
targetPart Part
face DesignFace
comment string
return void

AnnotateFace() public static method

public static AnnotateFace ( Part targetPart, DesignFace face, string comment, double textHeight, Direction direction ) : void
targetPart Part
face DesignFace
comment string
textHeight double
direction Direction
return void

CreateOrGetLayer() public static method

public static CreateOrGetLayer ( Document doc, string name, System color ) : Layer
doc Document
name string
color System
return Layer

GetNoteLocation() public static method

public static GetNoteLocation ( INote note, HorizontalType horizontalType, VerticalType verticalType ) : PointUV
note INote
horizontalType HorizontalType
verticalType VerticalType
return PointUV

GetPlaneCenteredOnFace() public static method

public static GetPlaneCenteredOnFace ( DesignFace face ) : Plane
face DesignFace
return Plane