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

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

Standard constructor.
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 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
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)

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