Your Ad Here

Go to: Synopsis. Flags. Return value. MEL examples.

Synopsis

projFileViewer [-clear] [-deselectIndexedItem] [-deselectItem] [-displayHidden int] [-displayMode int] [-doubleClickCommand string] [-forceRefresh] [-numberOfItem] [-numberOfSelectedItem] [-selectCommand string] [-selectItem] [-sortBy string] [-updateCommand string] [-workspace string] viewerName

projFileViewer is undoable, queryable, and editable.

This command creates a viewer that lists the project files in the current working directory. The viewer can then be attached to a pane.

Flags

clear, deselectIndexedItem, deselectItem, displayHidden, displayMode, doubleClickCommand, forceRefresh, numberOfItem, numberOfSelectedItem, selectCommand, selectItem, sortBy, updateCommand, workspace
Long name (short name) [argument types] Properties
-updateCommand(-uc) string createedit
Specify the update command.
-selectItem(-si) createqueryedit
Select the given item.

In query mode, this flag needs a value.

-deselectItem(-di) createqueryedit
Deselect the given item.

In query mode, this flag needs a value.

-deselectIndexedItem(-dii) createqueryedit
Deselect the given index item.

In query mode, this flag needs a value.

-numberOfSelectedItem(-nsi) query
Return the number of selected items.

In query mode, this flag needs a value.

-numberOfItem(-ni) query
Return the number of items.

In query mode, this flag needs a value.

-clear(-cl) createedit
Clear all items.
-doubleClickCommand(-dcc) string createedit
String is a command which is executed on a double click.
-selectCommand(-sc) string createedit
String is a command which is executed when an item is selected.
-workspace(-ws) string createqueryedit
Specify the workspace that this viewer works on.

In query mode, this flag needs a value.

-forceRefresh(-fr) createedit
Force the displayed items to be refreshed.
-displayMode(-dm) int createqueryedit
Set the display mode. Default is icon. Mode 0 displays as text. Mode 1 displays as large icons. Mode 2 displays as small icons.

In query mode, this flag needs a value.

-sortBy(-sb) string createqueryedit
Specifies how the entry should be sorted. Possible values are "name", "date", and "size".

In query mode, this flag needs a value.

-displayHidden(-dh) int createqueryedit
Indicates whether hidden files should be displayed or not.

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value


None.

MEL examples

window -rtf 0 -wh 150 150 ProjWindow;
paneLayout ProjPanes;
projFileViewer -dm 0 ProjFileView;
paneLayout -e -cn single -sp ProjFileView 1 ProjPanes;
projFileViewer -e -fr ProjFileView;
showWindow;

  

Return to Autodesk Index


Your Ad Here