Hide Table of Contents
PublishTo3DPDF Method (IModelDocExtension)

Creates a 3D PDF for SOLIDWORKS MBD. 

.NET Syntax

Visual Basic (Declaration) 
Function PublishTo3DPDF( _
   ByVal MBDPdfData As System.Object _
) As System.Integer
Visual Basic (Usage) 
Dim instance As IModelDocExtension
Dim MBDPdfData As System.Object
Dim value As System.Integer
 
value = instance.PublishTo3DPDF(MBDPdfData)
C# 
System.int PublishTo3DPDF( 
   System.object MBDPdfData
)
C++/CLI 
System.int PublishTo3DPDF( 
&   System.Object^ MBDPdfData
) 

Parameters

MBDPdfData
SOLIDWORKS MBD 3D PDF data

Return Value

Status as defined in swPublishTo3DPDFError_e

Example

Remarks

SOLIDWORKS Model Based Definition (MBD) is an integrated drawingless manufacturing solution for SOLIDWORKS.

This method corresponds to the Publish to 3D PDF button on the SOLIDWORKS MBD toolbar. 

Typical steps for generating a SOLIDWORKS MBD 3D PDF using the SOLIDWORKS API are:

  1. Get the MBD3DPdfData object using IModelDocExtension::GetMBD3DPdfData.
  2. Set the path and file name of the SOLIDWORKS MBD 3D PDF theme using IMBD3DPdfData::ThemeName.
  3. Get standard and custom views using IMBD3DPdfData::GetStandardViews and IMBD3DPdfData::GetMoreViews.
  4. Set standard and custom views using IMBD3DPdfData::SetStandardViews and IMBD3DPdfData::SetMoreViews.
  5. Get and set text and custom properties in the theme using IMBD3DPdfData::GetTextAndCustomProperties and ITextAndCustomProperty.
  6. Set the path for the SOLIDWORKS MBD 3D PDF using IMBD3DPdfData::FilePath.
  7. Generate the SOLIDWORKS MBD 3D PDF using this method.

See the SOLIDWORKS Help for details about MBD.

 

See Also

Availability

SOLIDWORKS 2016 FCS, Revision Number 24.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

 
*Email:  
Subject:   Feedback on Help Topics
Page:   PublishTo3DPDF Method (IModelDocExtension)
*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) 2017 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.