Reference: Microsoft Application Properties in Autodesk Inventor View

Gets and sets the currently active command within the viewer control.

Access: In a Microsoft application document, right-click in the viewer control, and then select Properties from the context menu.

The ActiveViewingCommand property uses the following settings:

DisplayMode

Specifies the display mode of the control window. You can set this property by using the Autodesk Inventor View control property sheet or Microsoft Visual Basic.

The DisplayMode property can be set using the drop-down list or by entering one of the number values below. The DisplayMode property uses the following settings:

8706

WireframeRendering

8707

HiddenEdgeRendering

8708

ShadedRendering

Filename

Specifies the file location for the file to open in the control window. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

Type in the location for the file to open in the control window. If you want to open a different file, click in the input box and replace the existing filename with the new one.

Height

Specifies the height of the control window. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

Enter a numeric value to set the height of the control window. To change the height, click in the input box and enter a new value.

Hidetoolbar

Controls whether the toolbar is displayed when you move the mouse over the view control.

The HideToolbar property uses the following settings:

True

Hides the toolbar.

False

Displays the toolbar.

Interactive

Indicates whether the interactive mode is turned on for the control window. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

The Interactive property uses the following settings:

True

Turns on the interactive mode. With the interactive mode turned on, you can manipulate the graphics view interactively.

False

Turns off the interactive mode. If this is selected, the toolbar, context menu, mouse wheel, middle mouse button interactivity, shortcut keys, and hot keys will not be available in the control window. All user input is blocked.

Name

Specifies the name of the object type that the properties are set for. The default name for the first control object is InventorViewControl1. Each consecutive object is named InventorViewControl2, InventorViewControl3, and so on. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

The InventorViewControl object has several properties that can be set using the control property sheet:

Perspective

Sets the camera mode of the control window is to perspective or orthographic. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

The Perspective property uses the following settings:

True

Sets the camera mode to perspective view. Part or assembly models are displayed in three-point perspective, a visual effect where parallel lines converge on a vanishing point. This is the way real objects are perceived by the human eye or by a camera.

False

Sets the camera mode to orthographic view. The model is displayed so all its points project along parallel lines to their positions on the screen. In this mode, 3D models appear flat and unlike objects observed in the real world.

SheetIndex

Specifies the sheet index of the control window. You can set this property by using the Inventor View control property sheet orMicrosfot Visual Basic.

Enter a numeric value to set the sheet index of the control window. To change the index number, click in the input box and enter a new value.

ViewOrientationType

Specifies the viewing mode of the control window. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

The ViewOrientationType property can be set using the drop-down list or by entering one of the number values below. The ViewOrientationType property uses the following settings:

10753

DefaultViewOrientation

10754

TopViewOrientation

10755

RightViewOrientation

10756

BackViewOrientation

10757

BottomViewOrientation

10758

LeftViewOrientation

10759

IsoTopRightViewOrientation

10760

IsoTopLeftViewOrientation

10761

BottomRightViewOrientation

10762

BottomLeftViewOrientation

10763

ArbitraryViewOrientation

10764

FrontViewOrientation

10765

CurrentViewOrientation

10766

SavedCameraViewOrientation

10767

FlatPivotRightViewOrientation

10768

FlatPivotLeftViewOrientation

10769

FlatPivot180ViewOrientation

10770

FlatBacksideViewOrientation

10771

FlatBacksidePivotRightViewOrientation

10772

FlatBacksidePivotLeftViewOrientation

10773

FlatBacksidePivot180ViewOrientation

Width

Specifies the width of the control window. You can set this property by using the Inventor View control property sheet or Microsoft Visual Basic.

Enter a numeric value to set the width of the control window. To change the width, click in the input box and enter a new value.