Set Template for 2D DWF Creation in SolidWorks

Set one or more default templates used for 2D DWF creation on check in, via job processor and Autoloader for SolidWorks, based on specific drawing sheet sizes.

Configure your template using the Plotsetting.xml file located at C:\ProgramData\Autodesk\Vault 2017 Add-In for SolidWorks\Trueview-Template\Plotsetting.xml.

Template usage is based on sheet size in the SolidWorks drawing file. Create a template for each sheet size for which you want to control DWF creation.

For Example, if you want to create DWF files for a drawing with A2 sheet size:

<plotsettings> <TemplateSettings> <DefaultTemplate
templatepath="C:\ProgramData\Autodesk\Vault 2017 Add-in for
SolidWorks\TrueView-Template\TrueViewSetup.dwg
<Template pagesize="A2"templatepath="C:\ProgramData\Autodesk\Vault 2017 Add-in for
SolidWorks\TrueView-Template\A2.dwg
<TemplateSettings> <plotsettings>
Where no sheet size template is set, the default template is used for DWF creation.

Set a DWG File as a Template

  1. Open or create a new drawing in AutoCAD based on an existing template.
  2. Modify the page setup for Layout1.
  3. Set the sheet size, orientation, view scaling and positioning options (center), pen assignments, and object line weights.
  4. Save the layout as LayoutSetup.
  5. From Page Setup for Layout1, choose LayoutSetup and Set Current.
    Note: The page setup must be called LayoutSetup and must be set as the current Page Setup for Layout1.
  6. Save to the template location with the name to be referenced in plotsetting.xml.