Applies To | |||
Product(s): | ProjectWise Explorer Client | ||
Version(s): | 08.11.07.133 | ||
Environment: | N/A | ||
Area: | Monikers | ||
Subarea: | |||
Original Author: | Robert Hook, Bentley Technical Support Group | ||
ProjectWise Explorer (pwc.exe) command line arguments/switches
RELATED TOPIC: List of System Variables for Projectwise Environments
Switch |
Item |
Value Type |
Description |
-d |
DATASOURCE |
String |
Data source display name |
-u |
USERNAME |
String |
Logical or single sign on user name |
-p |
PASSWORD |
String |
User password |
-t |
ITEMTYPE |
Numeric item type |
|
-v |
ITEMID |
Numeric item id |
<OLD VAULT ID> |
-I |
ITEMID2 |
Numeric item id |
|
-c |
CMDID |
Numeric command id |
|
-o |
FLAGS |
Hex numeric value |
|
-vn |
FOLDERPATH |
String literal |
|
-in |
ITEMNAME |
String literal |
|
-r |
VERSION |
String literal |
|
-fp |
FULLPATH |
String literal |
|
-ns |
NOSPLASH |
String option |
hide ProjectWise splash window while loading |
Some common ProjectWise Explorer command line task
Open PWC with specific data source and single sign on (SSO) |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 |
Or, open PWC with specific data source and user credentials |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -u admin -p admin |
Then select a specific folder ID and show the folder properties |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -v 187 |
Or, select a specific folder name relative to the "Documents" root |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -u admin -p admin -vn RMH\PRT\ |
Then select a specific document name |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -u admin -p admin -vn RMH\PRT\ -in WS2.dgn |
Then check out that document |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -u admin -p admin -vn RMH\PRT\ -in WS2.dgn -c 30512 |
Or, check out that document without showing a splash screen |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -u admin -p admin -vn RMH\PRT\ -in WS2.dgn -c 30512 -ns |
Then check it back in |
pwc -d TSG-PW8117133S.bentley.com:pw8117133 -u admin -p admin -vn RMH\PRT\ -in WS2.dgn -c 30511 |
NOTES:
Additional Refrerence
For a list of ProjectWise command IDs it is recommended to download the latest ProjectWise SDK and locate the aawddef.h header file and look for the most current list of IDMD_ commands. A sample list is provided from ProjectWise SELECTseries SDK below for reference.
ProjectWise Command ID |
Value |
Comment |
IDMD_OPEN |
30501 |
Open document. This identifier can |
IDMD_OPEN_WITH |
30502 |
Open document using specified |
IDMD_PRINT |
30503 |
Print document. |
IDMD_QUICKVIEW |
30504 |
View double-clicked document in |
IDMD_NEW |
30506 |
Create new document. |
IDMD_MODIFY |
30507 |
Modify document. This identifier |
IDMD_SAVE_AS |
30508 |
Save document as specified. |
IDMD_DELETE |
30509 |
Delete document. |
IDMD_CHECKIN |
30511 |
Check in document. |
IDMD_CHECKOUT |
30512 |
Check out document. This identifier |
IDMD_COPYOUT |
30513 |
Copy out document. |
IDMD_PURGECOPY |
30514 |
Purge local document copy. |
IDMD_FREE |
30515 |
Free document. |
IDMD_SETMODIFY |
30517 |
Modify document set attributes and |
IDMD_SETCREATE |
30518 |
Create document set. |
IDMD_REMOVE |
30519 |
Remove document set. |
IDMD_VERSION |
30521 |
Create new document version. This |
IDMD_STATE |
30522 |
Change document state. |
IDMD_PROPERTIES |
30525 |
View document properties. |
NOTE: The "Properties" | ||
IDMD_EXPORT |
30526 |
Export document. This identifier |
IDMD_REDLINE |
30527 |
Redline document. This identifier |
IDMD_REFRESH_COPY |
30528 |
Refresh document copy. |
IDMD_UPDATE_SERVER |
30529 |
Update document in the file server. |
IDMD_SEND_MAIL |
30530 |
Send mail with document attachment. |
IDMD_SEND_NOTICE |
30531 |
Send notice with document |
IDMD_COPY_OUT_TO |
30532 |
Copy out document to the specified |
IDMD_SET_FINAL |
30533 |
Set final document state. |
IDMD_REMOVE_FINAL |
30534 |
Remove final document state. |
IDMD_OPEN_READONLY |
30535 |
Open document as read-only. This |
IDMD_UFLDRREMOVE |
30536 |
Remove document from the custom |
IDMD_CHANGE_PREV_STATE |
30539 |
Change document state to the previous |
IDMD_CHANGE_NEXT_STATE |
30540 |
Change document state to the next |
IDMD_MODIFY_ATTR |
30541 |
Modify document attributes. |
IDMD_COPY_LIST |
30542 |
Copy document list. |
IDMD_PRINT_LIST |
30543 |
Print document list. |
IDMD_COPYLIST_TABSEPARATED |
30545 |
Copy document list with tab |
IDMD_COPYLIST_SPACESEPARATED |
30546 |
Copy document list with space |
IDMD_IMPORT |
30547 |
Import document back into the |
IDMD_GENERATE_CODE |
30548 |
Generate document code. |
IDMD_DELETE_SHEET |
30549 |
Delete document attribute sheet. |
IDMD_CREATE_MULTIPLE |
30550 |
Create multiple document. |
IDMD_OPENVAULT |
30551 |
Open folder in separate window. |
IDMD_COPY |
30552 |
Copy document. |
IDMD_MOVE |
30553 |
Move document. |
IDMD_MEMBERIN |
30554 |
Member In dialog open. |
IDMD_MASTER_LINKS |
30555 |
Shows master document references. |
IDMD_RELEASE_MASTER |
30556 |
Release master. |
IDMD_RELEASE_REF |
30557 |
Release references. |
IDMD_COPY_ATTR_DATA |
30558 |
Copy document attribute data. |
IDMD_PASTE_ATTR_DATA |
30559 |
Paste document attribute data. |
IDMD_ADD_SHEET |
30560 |
Add document attribute sheet. |
IDMD_CLEAN_AUDITTRAIL |
30561 |
Clean Audit Trail report. |
IDMD_RENAME |
30562 |
Rename document. |
IDMD_CODE_RESERVATION |
30563 |
Reserve document code. |
IDMD_SEND_MAIL_AS_LINK |
30564 | |
IDMD_SHARED_CHECKOUT |
30565 | |
IDMD_IMPORT_FROM |
30566 | |
IDMD_ADD_COMMENT |
30567 | |
IDMD_SCAN_REFERENCES |
30568 | |
IDMD_SHOW_MARKUPS |
30569 |
Find all markups of the selected |
IDMD_REFVERSION_MGR |
30570 |
Manage reference versions |
IDMD_REFVERSION_UPDATE |
30571 |
Update reference versions to latest |
IDMD_CREATE_RENDITIONS |
30572 |
Create Renditions |