alias_api.AlWindow
- class alias_api.AlWindow
Bases:
AlObjectInterface to the Alias modeling windows.
Alias modeling windows are the windows in which geometry information is actually viewed and modified. These are the Top, Front, Right and Perspective windows, as well as the SBD window. This class allows the creation, positioning and sizing windows. You can get the camera associated with a window. Plugins can use the mapping functions to determine where in world space a screen event occurred.
AlUniverse contains methods for getting the first modeling window, the current modeling window, and the sbd window.
- class AlViewType
Bases:
pybind11_objectThe window view type.
Members:
ViewInvalid
Bottom
Back
ViewOther
Left
Front
Right
Top
Sbd
Perspective
- Back = <AlViewType.Back: 3>
- Bottom = <AlViewType.Bottom: 7>
- Front = <AlViewType.Front: 2>
- Left = <AlViewType.Left: 5>
- Perspective = <AlViewType.Perspective: 9>
- Right = <AlViewType.Right: 4>
- Sbd = <AlViewType.Sbd: 8>
- Top = <AlViewType.Top: 6>
- ViewInvalid = <AlViewType.ViewInvalid: 0>
- ViewOther = <AlViewType.ViewOther: 1>
- property name
- property value
- property camera
Get or set the effective camera of the modeling window.
- copy_wrapper(self: alias_api.AlWindow) alias_api.AlObject
Return an exact duplicate of this AlWindow wrapper.
- create(self: alias_api.AlWindow, view_type: alias_api.AlWindow.AlViewType) int
Create a new AlWindow object with the given view type in the Alias Universe.
- delete_object(self: alias_api.AlWindow) int
Delete the AlWindow from the Alias Universe and return the status of the performed operation.
- get_resolution(self: alias_api.AlWindow) tuple[int, int, int]
Retrieves the resolution of a window.
- property grid_size
Return the size of the grid in world coordinates.
- type(self: alias_api.AlWindow) alias_api.AlObjectType
Return the AlWindow type identifier.