Hide Table of Contents

Document Properties > View Labels > Section

 

Setting

Get/Set Methods

Return Value or <Value>

Comments

Base section view standard

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionStandard, swUserPreferenceOption_e.swDetailingSectionView)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingDimensionStandard, swUserPreferenceOption_e.swDetailingSectionView, swDetailingStandard_e.<Value>)

See swDetailingStandard_e for valid options

Specifies the base section view standard to use

Line style - Line Style

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontSectionLineStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontSectionLineStyle, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swLineStyles_e.<Value>)

See swLineStyles_e for valid options

Specifies the style of section view lines

Line style - Line Thickness

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontSectionLineThickness, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swLineFontSectionLineThickness, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swLineWeights_e.<Value>)

See swLineWeights_e for valid options

Specifies the thickness of section view lines

Line style - Custom thickness

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swLineFontSectionLineThicknessCustom, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swLineFontSectionLineThicknessCustom, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value

Specifies custom thickness of section view lines; sets Custom Thickness to the specified thickness and Leader Thickness to Custom Size

Line style- Standard display or alternative display

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDisplayAlternateSection, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingDisplayAlternateSection, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Boolean value

  • True for alternative display

  • False for standard display

Specifies whether section line displays across drawing view and arrow ends stop at the ends of the section cut

Section arrow text - Font...

IModelDocExtension::GetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingSectionTextFormat, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingSectionTextFormat, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

See ITextFormat for font options

To set font property values, implement ITextFormat, set the appropriate ITextFormat member values, and pass the ITextFormat object in the API set method

View label text - Font...

IModelDocExtension::GetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingSectionLabelTextFormat, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceTextFormat(swUserPreferenceTextFormat_e.swDetailingSectionLabelTextFormat, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

See ITextFormat for font options

To set font property values, implement ITextFormat, set the appropriate ITextFormat member values, and pass the ITextFormat object in the API set method

Label options - Per standard

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingSectionViewLabels_PerStandard, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingSectionViewLabels_PerStandard, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Boolean value

If...

Then display the detail view label according to the format...

True

Required by the current detailing standard

False

Determined by these document-level user preferences:

swDetailingSectionViewLabels_Name

swDetailingSectionViewLabels_Label

swDetailingSectionViewLabels_Scale

swDetailingSectionViewLabels_Delimiter

Label options - Name

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Name, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Name, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDetailingViewLabelsName_e.<Value>)

See swDetailingViewLabelsName_e for valid options

Specifies the format of the title to use in the front of the section view label

Label options - Label

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Label, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Label, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDetailingViewLabelsLabel_e.<Value>)

See swDetailingViewLabelsLabel_e for valid options

Specifies the format of the section view label

Label options - Scale

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Scale, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Scale, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDetailingViewLabelsScale_e.<Value>)

See swDetailingViewLabelsScale_e for valid options

Specifies the format of the title to use in front of the scale value

Label options - Delimiter

IModelDocExtension::GetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Delimiter, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swDetailingSectionViewLabels_Delimiter, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swDetailingViewLabelsDelimiter_e .<Value>)

See swDetailingViewLabelsDelimiter_e for valid options

Specifies the format of the scale value

Stacked or In-line

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingSectionViewLabels_Stacked, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingSectionViewLabels_Stacked, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Boolean value

If...

Then display the detail view name and scale in...

True

2 lines

False

1 line

Label options - Display label above view

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingSectionViewLabels_AboveView, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingSectionViewLabels_AboveView, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Boolean value

Specifies whether to show label above detail view

Layer

IModelDocExtension::GetUserPreferenceString(swUserPreferenceStringValue_e.swDetailingLayer, swUserPreferenceOption_e.swDetailingSectionView)

IModelDocExtension::SetUserPreferenceString(swUserPreferenceStringValue_e.swDetailingLayer, swUserPreferenceOption_e.swDetailingSectionView, <Value>)

Valid Options:

  • "Border"

  • "Dimensions"

  • "Notes"

  • "BOM"

  • "FORMAT"

This setting is available only on drawings; depending on drawing, some options may not apply

Section/view size - Arrow width

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingSectionArrowWidth, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingSectionArrowWidth, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in meters

Specifies width of arrowheads in section views

Section/view size - Arrowhead length

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingSectionArrowHeight, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingSectionArrowHeight, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in meters

Specifies height of arrowheads in section views

Section/view size - Arrow length

IModelDocExtension::GetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingSectionArrowLength, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceDouble(swUserPreferenceDoubleValue_e.swDetailingSectionArrowLength, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Double value in meters

Specifies length of arrowheads in section views

Section/view size - Scale with section view arrow letter height

IModelDocExtension::GetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingScaleWithSectionTextHeight, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceToggle(swUserPreferenceToggle_e.swDetailingScaleWithSectionTextHeight, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

Boolean value

Specifies whether to scale the arrow head to the height of the text attached to the end of the arrows in a section view



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Document Properties > View Labels > Section
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2010 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.