AnsweredAssumed Answered

Line Font Option with API

Question asked by Yong Ning on Jul 26, 2017
Latest reply on Aug 5, 2017 by Yong Ning

Select an edge type from the list: Visible Edges

 

Thickness

Choose a thickness from the list, or select Custom Size and enter a Custom thickness value.

 

 

DP_LineFont.gif

 

 

 

 

2010 SOLIDWORKS API Help - Document Properties > Line Font  http://help.solidworks.com/2010/english/api/swconst/dp_linefont.htm

 

 

Visible Edges - Custom thickness

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

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

Outcomes