XML Elements

Each of the elements listed below are XML elements defined for applications using 3DPartStream.NET.

As the elements are XML elements, all XML rules apply.

For a list of fault codes, see XML Faults.

Request Elements

 

 

attachment

The supporting tags for Model Encoding.

attribute

Pair of name, value elements.

cadtype

Use 2D or 3D for values.

catalog

Name of the catalog that the serviceuser targets their XML requests to for the session.

category

Category Name.

config

Contains the name of the model's configuration.

datafile

Pair of name, type elements.

enduser

Unique string logged in by every download or view request.

format

Child element of formatinfo. Contains the file extension of the file format to be used. As an example, igs for an IGES file format.

formatinfo

Parent element of formatstring and format.

formatstring

Child element of formatinfo.  Contains a textual description of the file format being used. As an example, SolidWorks Assembly.

fromdate

Date to report from.

interfacename

The name of the interface.

interfaceparameters

Interface Parameters.

level

Level of descendants to return starting from the category requested.

line

The actual model zip file is encoded and sent.

model

Contains the name of a model.

model_format

Model format information that defines the formatting desired by the client. See model_format.

modelinfo

Information about the model

modeltype

The type of model. For example: sldprt, sldasm, etc.

name

Name of data

operatingsystem

Name of the operating system of the browser sending the request.

param

Name of a parameter that is described in the model.  Typically this is a named dimension. As an exaple, Bore, or Stroke.  Where the param element can be used, it can be used multiple times.

partner

Partner.

password

Password associated with the serviceuser login for the catalog.

searchstring

String used for locating files.

secure

Security flag.

serviceuser

Login name provided to the service to be used to provide "read-only" access to the service

sessionid

Id of the login session to be used with all interfaces. Returned by SwServiceLogin

swparameter

The Solidworks Internal Parameter name.

todate

Date to report to.

type

Name of data file type.

units

Child element of formatinfo. Contains unit information for the format.

value

Value of attribute data.

version

Child element of formatinfo. Contains version information for the format.

 

Response Elements

 

 

constraint

Type of constraint - either Range or Choice.

faultcode

Contains an error number.

faultstring

Contains an error description.

item

The returned item.

maxvalue

Maximum value for Range constraint type.

minvalue

Minimum value for Range constraint type.

returnval

Contains a link to the requested output file

step

Step value for Range constraint type.

success

Contains a description of the success.