Hide Table of Contents
Get3DCCGenericStreamFile Method (ISwDMDocument14)

Exports an XML file with the 3D Content Central (3DCC) generic format configuration rules that were built into this document by the SOLIDWORKS Configuration Publisher.

.NET Syntax

Visual Basic (Declaration) 
Function Get3DCCGenericStreamFile( _
   ByVal xmlFileName As System.String _
) As SwDmXmlDataError
Visual Basic (Usage) 
Dim instance As ISwDMDocument14
Dim xmlFileName As System.String
Dim value As SwDmXmlDataError
 
value = instance.Get3DCCGenericStreamFile(xmlFileName)
C# 
SwDmXmlDataError Get3DCCGenericStreamFile( 
   System.string xmlFileName
)
C++/CLI 
SwDmXmlDataError Get3DCCGenericStreamFile( 
&   System.String^ xmlFileName
) 

Parameters

xmlFileName
Name of file to which to save the configuration rules data

Return Value

Status as defined in swDmXmlDataError

Example

Remarks

Designers use the SOLIDWORKS Configuration Publisher to build configuration rules into their documents to constrain how the documents are seen by users who download them from 3D Content Central. (To open the Configuration Publisher in SOLIDWORKS, open a document, right-click on the top-level configuration name in the ConfigurationManager, and click Configuration Publisher).

Configuration rules are typically functions of the document's design table parameters. These rules specify how to display the document in different configurations. The Configuration Publisher inserts into the document the configuration rules in two formats: original and generic. 

This method allows user-interface developers to extract configuration rule information in the generic, multi-use format. Developers can then modify the extracted XML file to display the document in a format that differs from this multi-use format. 

The Configuration Publisher can also upload documents along with their configuration rules to 3D Content Central. See the 3D Content Central web site to learn more.

 

See Also

Availability

SOLIDWORKS Document Manager API 2010 SP0


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:   Get3DCCGenericStreamFile Method (ISwDMDocument14)
*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.