v5.1
Aligns the view camera to one of the primary viewing directions or restores the camera to its previous location (the location before AlignViewCamera was called).
AlignViewCamera( [Axis], [NegativeAxis], [AlignSelected], [View] ); |
Parameter | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Axis | siAxisType |
Axis to align camera or pass 0 to restore the previous camera position. Default Value: 0
|
||||||||||||
NegativeAxis | Boolean |
If true, align camera along negative view axis. Default Value: False |
||||||||||||
AlignSelected | Boolean |
If True, use the first selected object as the reference frame to align to. Default Value: False |
||||||||||||
View | Integer |
Viewport in which to frame the selection. Default Value: -1 (current viewport)
|
' Align the camera in view B to a top view AlignViewCamera siY,,, 1 |