API Reference > HyperModeling-frontend > HyperModeling > HyperModelingDecorator > toggleSection toggleSection Method Toggles the specified section marker. Enabling the section applies the frustum and clip volume of the marker's spatial view to the viewport, and displays the 2d section graphics and sheet annotations. Disabling the section disables the clip volume and 2d graphics. toggleSection(marker: SectionMarker, enable: boolean): Promise<boolean> see HyperModelingDecorator.toggleClipVolume to toggle only the clip volume. see HyperModelingDecorator.toggleAttachment to toggle only the attachment graphics. Parameter Type Description marker SectionMarker enable boolean Returns - Promise<boolean> Defined in hypermodeling/src/HyperModelingDecorator.ts Line 257 Last Updated: 12 June, 2024