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

NOTE: This member is now obsolete. Use the constructor that accepts the WriteParams instead.

Collections and stream constructor.
Public Sub New( _ 
ByVal entList As IList(Of Entity), _ 
ByVal layerList As IEnumerable(Of Layer), _ 
ByVal blockDict As IDictionary(Of String, Block), _ 
ByVal stream As Stream, _ 
ByVal units As linearUnitsType, _ 
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
Stream stream
linearUnitsType units
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

stream
Stream

The file stream

units
linearUnitsType

The model units

selectedOnly
bool

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

Remarks
 
  • The closing of the stream is delegated to you.
  • 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