Hide Table of Contents

Document Properties > Centerlines/Center Marks

 

Setting

Get/Set Methods

Return Value or <Value>

Comments

Centerlines - Centerline extension

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

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

Double value in meters

Specifies length to extend the centerline beyond section geometry when in a drawing view

Center marks - Size

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

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

Double value in meters

Specifies the size of center marks in drawings

Center marks - Gap

 

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

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

Double value in meters

Specifies the center mark gap size

Center marks - Scale by view scale

 

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

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

Boolean value

Specifies whether to scale center marks by the view scale

Center marks - Extended lines

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

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

Boolean value

Specifies whether to display center mark extension lines

Center marks - Centerline font

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

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

Boolean value

Specifies whether lines in center marks use font specified for centerlines

Slot center marks - Orient to slot or Orient to sheet

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

IModelDocExtension::SetUserPreferenceInteger(swUserPreferenceIntegerValue_e.swCenterLineMarkOrient, swUserPreferenceOption_e.swDetailingNoOptionSpecified, swCenterLineMarkOrient_e.<Value>)

See swCenterLineMarkOrient_e for valid options

Specifies the orientation of the centerline marks

Slot center marks - Place mark at centers of straight slots

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

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

Boolean value

Specifies placement of marks at centers of straight slots

Slot center marks - Place mark at ends of straight slots

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

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

Boolean value

Specifies placement of marks at ends of straight slots; only available with Slot center marks - Orient to slot option

Slot center marks - Place mark at centers of arc slots

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

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

Boolean value

Specifies placement of marks at centers of arc slots

Slot center marks - Place mark at ends of arc slots

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

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

Boolean value

Specifies placement of marks at ends of arc slots; only available with Slot center marks - Orient to slot option

Centerline layer

IModelDocExtension::GetUserPreferenceString(swUserPreferenceStringValue_e.swCenterLineLayer, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceString(swUserPreferenceStringValue_e.swCenterLineLayer, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

 

Valid Options:

  • "Border"
  • "Dimensions"
  • "Notes"
  • "BOM"
  • "FORMAT"

Depending on the drawing, some options may not apply

Center mark layer

IModelDocExtension::GetUserPreferenceString(swUserPreferenceStringValue_e.swCenterMarkLayer, swUserPreferenceOption_e.swDetailingNoOptionSpecified)

IModelDocExtension::SetUserPreferenceString(swUserPreferenceStringValue_e.swCenterMarkLayer, swUserPreferenceOption_e.swDetailingNoOptionSpecified, <Value>)

 

Valid Options:

  • "Border"
  • "Dimensions"
  • "Notes"
  • "BOM"
  • "FORMAT"

Depending on drawing, some options may not apply



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 > Centerlines/CenterMarks
*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) 2018 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.