WriteSTEP(Environment, Stream, Boolean) Constructor

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

Environment, header and stream constructor.
Public Sub New( _ 
ByVal environment As Environment, _ 
ByVal stream As Stream, _ 
Optional ByVal selectedOnly As Boolean = false _ 
)
This language is not supported or no code example is available.
public WriteSTEP( 
Environment environment
Stream stream
bool selectedOnly = false 
)
This language is not supported or no code example is available.

Parameters

environment
Environment

The Environment control

stream
Stream

The file stream

selectedOnly
bool

When true, only selected entities are exported.

Remarks
 
  • The closing of the stream is delegated to you.
  • If Environment.Blocks 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.
  • selectedOnly is supported only in individual entity mode.

.NET Framework

Supported in: 4.8

In this article

Definition