WriteSTEP(Environment, String, Boolean) Constructor

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

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

Parameters

environment
Environment

The Environment control

fileName
string

The file name (with *.stp extension)

selectedOnly
bool

When true, only selected entities are exported.

Remarks
 
  • If the file already exists, it will be overwritten.
  • 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