Hide Table of Contents

File > Publish to eDrawings

When publishing to eDrawings a SOLIDWORKS part or assembly that has multiple configurations, you can select which configurations to save and whether to create and attach STEP files for them in the Save Configurations to eDrawings file dialog.

To display the dialog:

Click Publish to eDrawings on the Standard toolbar.

 - or -

Select File > Publish to eDrawings.

- or -

  1. Click File > Save As.
  2. In Save as type, select eDrawings.
  3. Click Save.

 

 

Setting

Get/Set Methods

Return Value
or
<OnFlag>

Comment

Configurations to save

ISldWorks::GetUserPreferenceStringListValue(swUserPreferenceStringListValue_e.swEmodelSelectionList)

ISldWorks::SetUserPreferenceStringListValue(swUserPreferenceStringListValue_e.swEmodelSelectionList, <Value>)

String value

Multiple strings must be separated by new line characters (vbNewLine or VbLf in Visual Basic, \n in Visual C++).

If you specify Configurations with STEP file attachments, you must specify at least one configuration to save the eDrawings data.

 

Attachment option

 

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swEdrawingsAttachmentOption)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swEdrawingsAttachmentOption, swEdrawingsAttachmentOption_e.<Value>)

 

Integer value as defined in swEdrawingsAttachmentOption_e

 

 

Selected configurations for which to create and attach STEP files

ISldWorks::GetUserPreferenceStringListValue(swUserPreferenceStringListValue_e.swEmodelAttachmentList)

ISldWorks::SetUserPreferenceStringListValue(swUserPreferenceStringListValue_e.swEmodelAttachmentList, <Value>)

String value

Valid only if Attachment option is set to swEdrawingsAttachmentOption_e.swEDrawingsAttachSelected.

Multiple strings must be separated by new line characters (vbNewLine or VbLf in Visual Basic, \n in Visual C++).

You can include a STEP attachment for any of the available configurations in the file. Including a STEP attachment is independent of including the eDrawings data for each configuration as long as you select at least one configuration for publishing the eDrawings data in Configurations to save.

Create and attach STEP file of type

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swEdrawingsAttachmentType)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swEdrawingsAttachmentType, swEdrawingsAttachmentType_e.<Value>)

Integer value as defined in swEdrawingsAttachmentType_e

Valid only if Attachment option is not set to swEdrawingsAttachmentOption_e.swEDrawingsAttachNone. Sets the type of STEP file to attach. Supported STEP formats are STEP AP203 and STEP AP214. If you have a SOLIDWORKS MBD license, you can also attach STEP AP242 files which support Product and Manufacturing Information (PMI).

Options

See Comment.

See Comment.

See System Options > Export > EDRW/EPRT/EASM.



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:   File > Publish to eDrawings
*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.