ThreeDModel.LoadModel(String, Variable) Method

Top 

Description

Loads the 3D model at the specified filepath using a specific format

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

ThreeDModel.LoadModel(

String filename,


Variable format)

 

 

Arguments

filename


Description:

The path of the file to load.

 

 

format


Description:

Forces the system to ignore the file extension and load the file as the specified format.

Valid Values:

Value

Label

0

Automatic

1

Discreet 3DS(.3ds, .prj)

2

LightWave/Modo Object(.lwo, .lxo)

3

Wavefront Object(.obj)

4

Stereolithography (STL)(.stl)

 

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if loading the model was successful, returns a 0 if unsuccessful.

 

Syntax

myVariable1 = myThreeDModel1.LoadModel(myString1, myVariable2);

 

 

See also

ThreeDModel Object

ThreeDModel.LoadModel

Vehicle 3D Models Guide