ViewportLayout.add_element
- ViewportLayout.add_element(element, is_horizontal=True)[source]
Add an element to the viewport layout.
- Parameters:
- elementUnion[
compas_viewer.components.Renderer
,compas_viewer.layout.Treeform
] The element to add to the viewport layout.
- is_horizontalbool, optional
Whether to add the element horizontally or vertically. Defaults to True.
- elementUnion[
References