Set working directory

  • Thread starter koyama
  • Ngày mở chủ đề
K

koyama

Author
Mỗi lần khởi động Pro, em phải vào File > Set working directory... để thiết lập thư mục mặc định.
Có ai biết cách nào mình chỉ cần thiết lập 1 lần thôi, những lần sau khi vào, mình kô cần thiết lập nữa kô?
 
H

hd_id912

Author
Set working directory cũng như tất cả các thiết lập người dùng khác hoàn toàn có thể điều khiển được trong file config.pro. Bạn mở config.pro đặt đoạn text Setworking directory sau dấu cách là đường đẫn đến thư mục làm việc. Mình có đoạn text trong file config của mình đang làm việc bạn thử tham khảo về các thiết lập đến datum, mapkey, searh part...:
!--------- New in release 4.5
!----Allows to create Evaluate Features
allow_anatomic_features YES
!---------
auto_regen_views NO
axis_display NO
bell NO
create_numbered_layers NO
datum_display NO
datum_point_display NO
delete_after_plotting YES
display WIREFRAME
display_coordinate_sys NO
display_full_object_path YES
display_in_adding_view MINIMAL_WIREFRAME
drawing_setup_file C:\SPECTRA\PROE\5.0\CONFIG_FILES\PRO_DWG_SETUP.DTL
flip_arrow_scale 2.0
fonts_size LARGE
freeze_failed_assy_comp YES
graphics WIN32_GDI
hlr_for_quilts YES
let_proe_rename_pdm_objects YES
new_parameter_ui YES
new_relation_ui YES
!----------------------------------------------------------
! MAPKEYS
!----------------------------------------------------------
mapkey $F5 #VIEW;#REPAINT;#
;
mapkey $F6 #VIEW;#COSMETIC;#SHADE;#DISPLAY;#
;
mapkey $F7 #CHANGEWINDOW;
mapkey $F8 #REGENERATE;#AUTOMATIC;
mapkey ZX #VIEW;#PAN/ZOOM;#ZOOM OUT;
mapkey ZZ #VIEW;#PAN/ZOOM;
!----------------------------------------------------------
menu_show_instances NO
nt_cache_dirs YES
override_store_back NO
plot_names YES
plotter POSTSCRIPT
plotter_command WINDOWS_PRINT_MANAGER
pro_format_dir C:\SPECTRA\PROE\5.0\CONFIG_FILES\CP_FORMATS
pro_group_dir C:\SPECTRA\PROE\5.0\CONFIG_FILES\GROUPS
pro_material_dir C:\SPECTRA\PROE\5.0\CONFIG_FILES\MATERIALS
pro_plot_config_dir C:\SPECTRA\PROE\5.0\CONFIG_FILES\PLOT_CONFIG
pro_unit_length UNIT_MM
pro_unit_mass UNIT_KILOGRAM
prompt_on_exit NO
provide_pick_message_always YES
reserved_menu_space 1
save_object_in_current YES
save_objects CHANGED
search_path ..\CABLING
search_path ..\CONSERVATOR
search_path ..\CORE_ACTIVE
search_path ..\COVER
search_path ..\FINAL_ASSEMBLY
search_path ..\LEADS_HV
search_path ..\LEADS_LV
search_path ..\PIPING
search_path ..\TANK
search_path ..\tank_bottom
search_path ..\tank_frame
search_path ..\tank_hv
search_path ..\tank_lv
search_path ..\tank_left
search_path ..\tank_right
search_path ..\cable_box
search_path ..\conserv_console
SEARCH_PATH C:\ABBProe5.1\dfu\outside
SEARCH_PATH C:\ABBProe5.1\dfu
search_path G:\PTTR\PTWork\work\VN_Library\LDFU
search_path G:\PTTR\PTWork\work\VN_Library\LDFU_COPY
search_path G:\PTTR\PTWork\work\VN_Library\LDFU_COPY\KITZ_VALVE
search_path G:\PTTR\PTWork\work\VN_Library\Local library
search_path G:\PTTR\PTWork\work\VN_Library\LDFU
search_path G:\PTTR\PTWork\work\VN_Library\LDFU\KITZ_VALVE
search_path G:\PTTR\PTWork\work\library_bus
set_menu_width 17
shade_with CURVES
sketcher_animated_modify YES
sketcher_dec_places 2
spin_center_display NO
spin_control DRAG
symbol_palette_input YES
thermo_position_hint NO_WINDOW_OVERLAP
TRAIL_FILE C:\WORK\TRAI_DIR
tol_display NO
visible_message_lines 2
windows_scale 1.0
!# Pro/ENGINEER Start Templates
template_solidpart C:\SpecTra\ProE\5.0\config_files\templates\start_part.prt
template_designasm C:\SpecTra\ProE\5.0\config_files\templates\start_asm.asm
template_sheetmetalpart C:\SpecTra\ProE\5.0\config_files\templates\start_sheetmetal.prt
template_drawing C:\SpecTra\ProE\5.0\config_files\templates\start_drw.drw
 
K

koyama

Author
Cám ơn hd_id912 đã trả lời.

Tui có làm theo cách của bạn :
Bạn mở config.pro đặt đoạn text Setworking directory sau dấu cách là đường đẫn đến thư mục làm việc

Nhưng kết wả là Pro kô nhận diện được key word đó:

 
H

hd_id912

Author
Mình cũng đã kiểm tra lại, quy định cho working directory có biến là file_open_defalt_folder với nhiều giá trị đặt cho biến đấy, nhưng để đặt được vào thư mục theo ý muốn thì đặt giá trị của nó là default, và thực hiện những bước bạn đã làm thôi.
Rất tiếc là ko giúp được gì cho bạn.
 
K

koyama

Author
Cảm ơn hd_id912 đã trả lời.

Cảm ơn hd_id912 đã wan tâm
 
M

minhphuong1805

Author
vào C:\Program Files\proeWildfire 2.0\bin chạy ptcsetup.bat vào phần startup directory rồi thiết lập đường dẫn cho thư mục mới của bạn là được. Thân
 
C

cadcam_user68

Author
minhphuong1805 viết:
vào C:\Program Files\proeWildfire 2.0\bin chạy ptcsetup.bat vào phần startup directory rồi thiết lập đường dẫn cho thư mục mới của bạn là được. Thân
Còn cách đơn giản hơn là bạn chọn Properties khi click chuột phải vào shortcut Pro Engineer và trong box
Start in bạn gõ vào đường dẫn của thư mục mà bạn muốn set làm thư mục làm việc mặc định.
Good luck!
 
K

koyama

Author
cadcam_user68 viết:
minhphuong1805 viết:
vào C:\Program Files\proeWildfire 2.0\bin chạy ptcsetup.bat vào phần startup directory rồi thiết lập đường dẫn cho thư mục mới của bạn là được. Thân
Còn cách đơn giản hơn là bạn chọn Properties khi click chuột phải vào shortcut Pro Engineer và trong box
Start in bạn gõ vào đường dẫn của thư mục mà bạn muốn set làm thư mục làm việc mặc định.
Good luck!
Cám ơn các bác đã wan tâm! :)
Cách của bác cadcam_user68 là tiện lợi nhất,mình đã làm ok,cám ơn nhiều
 
Top