WriteOBJ(IList<Entity>, IEnumerable<Layer>, IDictionary<StringBlock>, IDictionary<StringMaterial>, String, Double, linearUnitsType, Boolean) Constructor

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

Deviation constructor. The exported model will be regenerated with specified deviation.
Public Sub New( _ 
ByVal entList As IList(Of Entity), _ 
ByVal layerList As IEnumerable(Of Layer), _ 
ByVal blockDict As IDictionary(Of String, Block), _ 
ByVal matDict As IDictionary(Of String, Material), _ 
ByVal fileName As String, _ 
ByVal deviation As Double, _ 
ByVal units As linearUnitsType, _ 
Optional ByVal selectedOnly As Boolean = false _ 
)
This language is not supported or no code example is available.
public WriteOBJ( 
IList<Entity> entList
IEnumerable<Layer> layerList
IDictionary<string, Block> blockDict
IDictionary<string, Material> matDict
string fileName
double deviation
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

matDict
IDictionary<string, Material>

The material dictionary

fileName
string

The file name (with the *.obj extension)

deviation
double

The maximum deviation

units
linearUnitsType

The model units

selectedOnly
bool

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

Remarks
 
If the file already exists, it will be overwritten.

.NET Framework

Supported in: 4.8

In this article

Definition