WriteSTEP(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, Stream, 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 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, _ 
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
Stream stream
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

stream
Stream

The file stream

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
 
  • 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