Метод | Описание | |
---|---|---|
AddAllMullions ( ) : void |
add mullions to all the segments of the curtain grid due to the limitations of Mullions, it's not available yet to add mullions to the edges of the curtain grid as Revit UI does
|
|
AddAllSegments ( ) : void |
add all the deleted segments back for a grid line
|
|
AddSegment ( ) : void |
add a new segment to the specified location
|
|
AddUGridLine ( ) : void |
add a new U grid line to the specified location
|
|
AddVGridLine ( ) : void |
add a new V grid line to the specified location
|
|
DeleteAllMullions ( ) : void |
delete all the mullions of the curtain grid
|
|
GetLineToBeMoved ( ) : bool |
get the grid line to be removed
|
|
GridGeometry ( MyDocument myDoc ) : System |
constructor
|
|
LockOrUnlockSelectedGridLine ( ) : void |
toggle the selected grid line's Lock status: if it's locked, unlock it, vice versa
|
|
MoveGridLine ( System mousePosition ) : bool |
move the selected grid line to the location of the mouse cursor
|
|
ReloadGeometryData ( ) : void |
reload all the geometry data of the curtain grid (grid lines, vertexes, and convert them to 2D format)
|
|
ReloadGridProperties ( ) : void |
obtain all the properties of the curtain grid
|
|
RemoveSegment ( ) : void |
remove the selected segment from the curtain grid
|
Метод | Описание | |
---|---|---|
GetCurtainGridVertexes ( ) : bool |
get all of the 4 vertexes of the curtain grid
|
|
GetPoints ( CurtainCellSet cells ) : List |
get all the vertexes of the curtain cells
|
|
GetULines ( ) : void |
get all the U grid lines' data of the curtain grid
|
|
GetVLines ( ) : void |
get all the V grid lines' data of the curtain grid
|
|
GetVertexesByCells ( CurtainCellSet cells, Autodesk &minXYZ, Autodesk &maxXYZ ) : void |
get the vertexes of the bounding box which covers all the curtain cells
|
|
GetVertexesByPoints ( List |
get a bounding box which covers all the input points
|
|
MimicRecursiveDelete ( bool &canRemove, |
the "regeneration" step: if there're only 2 segments existing in one joint and they're in the same line, delete one seg will cause the other been deleted automatically
|
|
MimicRemoveSegment ( bool &canRemove, |
remove the segment from the grid line
|
|
MimicRemoveSegments ( bool &canRemove, List |
a simulative "Delete Segment" operation before real deletion as we may occur some situations that prevent us to delete the specific segment for example, delete the specific segment will make some other segments to be deleted automatically (the "conjoint" ones) and the "automatically deleted" segment is the last segment of its parent grid line in this situation, we should prevent deleting that specific segment and rollback all the simulative deletion
|
public GridGeometry ( MyDocument myDoc ) : System | ||
myDoc | MyDocument | /// the document of the sample /// |
Результат | System |
public LockOrUnlockSelectedGridLine ( ) : void | ||
Результат | void |
public MoveGridLine ( System mousePosition ) : bool | ||
mousePosition | System | /// indicates the destination position of the grid line /// |
Результат | bool |