Hide Table of Contents
CustomPropertyBuilderTemplate Property (IModelDocExtension)

Gets or sets the custom property builder template for this part.

.NET Syntax

Visual Basic (Declaration) 
Property CustomPropertyBuilderTemplate( _
   ByVal WeldmentTemplate As System.Boolean _
) As System.String
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim WeldmentTemplate As System.Boolean
Dim value As System.String
instance.CustomPropertyBuilderTemplate(WeldmentTemplate) = value
value = instance.CustomPropertyBuilderTemplate(WeldmentTemplate)
System.string CustomPropertyBuilderTemplate( 
   System.bool WeldmentTemplate
) {get; set;}
property System.String^ CustomPropertyBuilderTemplate {
   System.String^ get(System.bool WeldmentTemplate);
   void set (System.bool WeldmentTemplate, System.String^ value);


True if a weldment part, false if not (see Remarks)

Property Value

File name of the custom property builder template (see Remarks)


swModDocExt.CustomPropertyBuilderTemplate(False) = "template.prtprp"
swModDocExt.CustomPropertyBuilderTemplate(True) = "templateWeld2.wldprp"


If WeldmentTemplate is:

  • True, then this property gets or sets *.wldprp.
  • False, then this property gets or sets *.prtprp.

All custom property builder templates are stored in the file location specified in Tools > Options > File Locations > Custom Property Files.

This property corresponds to the setting in the Template Options dialog that appears when you click on the button next to More Properties in the Custom Properties task pane. When you create a custom property layout, a template is created. The button is activated for parts and weldments only after a custom properties tab layout is created. The weldment custom property template (*.wldprp) can be created or modified only if a cut list item is selected in the Cut list folder.

See Also


SOLIDWORKS 2018 FCS, Revision Number 26.0

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

Subject:   Feedback on Help Topics
Page:   CustomPropertyBuilderTemplate Property (IModelDocExtension)
*   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:


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

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.