WriteSTEP(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, String, linearUnitsType, String, String, String, Boolean) Constructor

NOTE: This member is now obsolete. Use the constructor that accepts the document and header as parameters instead.

Collections and file name constructor.
Public Sub New( _ 
ByVal entList As IList(Of Entity), _ 
ByVal layerList As IEnumerable(Of Layer), _ 
ByVal blockDict As IDictionary(Of String, Block), _ 
ByVal fileName As String, _ 
ByVal units As linearUnitsType, _ 
ByVal author As String, _ 
ByVal organization As String, _ 
ByVal originatingSystem As String, _ 
Optional ByVal selectedOnly As Boolean = false _ 
)
This language is not supported or no code example is available.
public WriteSTEP( 
IList<Entity> entList
IEnumerable<Layer> layerList
IDictionary<string, Block> blockDict
string fileName
linearUnitsType units
string author
string organization
string originatingSystem
bool selectedOnly = false 
)
This language is not supported or no code example is available.

Parameters

entList
IList<Entity>

The entity list

layerList
IEnumerable<Layer>

The layer list

blockDict
IDictionary<string, Block>

The block dictionary

fileName
string

The file name (with the *.stl extension)

units
linearUnitsType

The model units

author
string

Author name

organization
string

Organization name

originatingSystem
string

Originating system name

selectedOnly
bool

When true, only selected entities at root level are written.

Remarks
 
  • If the file already exists, it will be overwritten.
  • If blockDict count is bigger than zero, the STEP file is written in assembly mode. In the opposite case it is written in individual entity mode.
  • Entity.ColorMethod as colorMethodType.byParent is not supported.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition