Метод | Описание | |
---|---|---|
ParseCorbelGeometry ( FamilyInstance corbel ) : |
This method parses geometry information of given Corbel to construct the CorbelFrame.
|
Метод | Описание | |
---|---|---|
ConstructCorbelFrame ( FamilyInstance corbel, System.Edge depthEdge, System.Edge leftEdge, System.Edge bottomEdge, System.Edge rightEdge, System.Edge topEdge, Document revitDoc, PlanarFace trapezoidFace, double hostDepth, double hostTopCoverDistance ) : |
Create the CorbelFrame object with the given trapezoid face, corbel and its host information.
|
|
GetCommonVertex ( System.Edge edge1, System.Edge edge2 ) : XYZ |
Get the common vertex XYZ of two edges.
|
|
GetDistance ( PlanarFace face1, PlanarFace face2 ) : double |
Compute the distance between two planar faces.
|
|
GetElementSolid ( Element element ) : Solid |
Extract the Solid of given element.
|
|
GetNormalOutside ( Face face ) : XYZ |
Compute the outside normal of given face.
|
|
IsTrapezoid ( XYZ hostNormal, PlanarFace corbelBottomFace, System.Edge bottomEdge, PlanarFace &trapezoidFace, System.Edge &topEdge, System.Edge &leftEdge, System.Edge &rightEdge ) : bool |
Check if the given bottom edge was shared by a trapezoid face with left edge vertical.
|
public static ParseCorbelGeometry ( FamilyInstance corbel ) : |
||
corbel | FamilyInstance | Given corbel family instance to parse |
Результат |