Eyeshot 10 WinForms API Reference
AddToScene(ViewportLayout,Boolean,String) Method

WinForms Assembly > devDept.Eyeshot.Translators Namespace > ReadOBJ Class > AddToScene Method : AddToScene(ViewportLayout,Boolean,String) Method
The Viewport used to add entities and materials.
When true, it put the entities read from the OBJ file into a block, add a BlockReference that refers to that block and call the ViewportLayout.RemoveJittering() method.
The name of the block that will contain the selected entities. Can be null/Nothing.
Adds entities and materials, read from the OBJ file, to the Viewport.
Syntax
'Declaration
 
Public Overloads Overrides Sub AddToScene( _
   ByVal viewportLayout As ViewportLayout, _
   Optional ByVal removeJittering As Boolean, _
   Optional ByVal blockName As String _
) 
public override void AddToScene( 
   ViewportLayout viewportLayout,
   bool removeJittering,
   string blockName
)

Parameters

viewportLayout
The Viewport used to add entities and materials.
removeJittering
When true, it put the entities read from the OBJ file into a block, add a BlockReference that refers to that block and call the ViewportLayout.RemoveJittering() method.
blockName
The name of the block that will contain the selected entities. Can be null/Nothing.
See Also

Reference

ReadOBJ Class
ReadOBJ Members
Overload List