1.3.1 关于配置文件(About Drawing Setup File Options) Pro/ENGINEER 是可以根据不同文件指定不同的配置文件以及工程图格式。配置文件指定了图纸中一些内容的通用特征,如:尺寸和注释的文本高度、文本方向、几何公差的标准、字体属性、制图标准、和箭头的长度。
虽然系统规定这些内容的默认选项,但我们仍然可以利用配置文件自己进行定义,并保存在盘中,备其他文件使用。配置文件默认的文件后缀为:"*.dtl"。我们可以在config.pro中来指定drawing配置文件的路径以及名称。(config.pro配置文件) .如果我们没有指定配置文件,系统会利用默认的配置文件。如果购买了Pro/DETAIL模块,我们可以根据不同的使用标准( DIN, ISO, and JIS )指定简单的配置文件,文件的位置为:安装目录/text/下的三个文件:
“din.dtl” “iso.dtl” “jis.dtl”
可以使用上面的文件来作为工程图的配置文件。中国用户可以使用iso.dtl
注意: 图纸的格式文件有它自己的配置文件,这个文件和图纸的配置文件是独立的。但有一定的限制。
1.3.2 建立配置文件(To Create a Drawing Setup File)
使用菜单:setup-create,可以建立配置文件
菜单 DRAWING > Advanced > Create. 输入文件名,默认的配置文件将出现,我们可以对齐进行修改。这些选项是按照功能来分类排序的。 修改完成,保存。 在主菜单中选择View>Repaint,图纸会按照修改后的方式变化
1.3.3 改变文本编辑器(Changing the Text Editor)
在config.pro中指定配置文件的编辑器: “drawing_file_editor”,“pro_editor_command.”
1.3.3 配置文件的例子
说明:下面是配置文件的一个例子,站长对它没有做更多的研究,我发现,它还是比较符合我们的国家标准。 详细的说明见本站《工程图配置文件祥解》
! ! These options control text not subject to other options ! drawing_text_height 3.500000 text_thickness 0 text_width_factor 0.850000 ! ! These options control views and their annotations ! broken_view_offset 5.000000 create_area_unfold_segmented YES def_view_text_height 3.5 def_view_text_thickness 0.000000 detail_circle_line_style PHANTOMFONT detail_view_circle ON half_view_line SYMMETRY projection_type FIRST_ANGLE show_total_unfold_seam YES view_note std_din view_scale_denominator 1 view_scale_format ratio_colon
! ! These options control cross sections and their arrows ! crossec_arrow_length 5 crossec_arrow_style HEAD_ONLINE crossec_arrow_width 2 crossec_text_place ABOVE_TAIL cutting_line STD_ISO cutting_line_adapt NO cutting_line_segment 6 draw_cosms_in_area_xsec NO remove_cosms_from_xsecs TOTAL
! ! These options control solids shown in views ! datum_point_size 8.000000 datum_point_shape CROSS hlr_for_pipe_solid_cl NO hlr_for_threads YES location_radius DEFAULT(2.) mesh_surface_lines OFF thread_standard STD_ISO hidden_tangent_edges DEFAULT ref_des_display NO
! ! These options control dimensions allow_3d_dimensions YES angdim_text_orientation HORIZONTAL associative_dimensioning YES blank_zero_tolerance yes chamfer_45deg_leader_style STD_ISO clip_dimensions YES clip_dim_arrow_style NONE default_dim_elbows YES dim_leader_length 5.000000 dim_text_gap 1.300000 draft_scale 1.000000 draw_ang_units ANG_DEG draw_ang_unit_trail_zeros YES dual_digits_diff 1 dual_dimension_brackets YES dual_dimensioning NO dual_secondary_units INCH iso_ordinate_delta YES lead_trail_zeros STD_METRIC ord_dim_standard STD_ISO orddim_text_orientation PARALLEL parallel_dim_placement ABOVE shrinkage_value_display PERCENT_SHRINK text_orientation PARALLEL_DIAM_HORIZ tol_display no tol_text_height_factor 0.600000 tol_text_width_factor 0.600000 witness_line_delta 1.500000 witness_line_offset 1.000000
! ! These options control text and line fonts ! default_font font aux_font 1 filled aux_font 2 leroy aux_font 3 cal_alf aux_font 4 cal_grek aux_font 5 font3d
! ! These options control leaders ! draw_arrow_length 3.500000 draw_arrow_style FILLED dim_dot_box_style DEFAULT draw_arrow_width 1.500000 draw_attach_sym_height DEFAULT draw_attach_sym_width DEFAULT draw_dot_diameter 1.000000 leader_elbow_length 6.000000
! ! These options control axes ! axis_interior_clipping NO axis_line_offset 5.000000 circle_axis_offset 4.000000 radial_pattern_axis_circle YES
! ! These options control geometric tolerancing information !
gtol_datums STD_ISO_JIS gtol_dim_placement ON_BOTTOM new_iso_set_datums YES asme_dtm_on_dia_dim_gtol ON_GTOL
! ! These options control tables, repeat regions, and BOM balloons !
dash_supp_dims_in_region YES def_bom_balloon_leader_sym filled_dot model_digits_in_region NO show_cbl_term_in_region YES
! ! These options control layers !
draw_layer_overrides_model NO ignore_model_layer_status YES
! ! These options control model grids !
model_grid_balloon_size 4.000000 model_grid_neg_prefix - model_grid_num_dig_display 0 model_grid_offset DEFAULT
! ! These options control theoretical piping bend intersection !
show_pipe_theor_cl_pts BEND_CL pipe_pt_shape CROSS pipe_pt_size DEFAULT
! ! Miscellaneous options ! decimal_marker COMMA_FOR_METRIC_DUAL drawing_units MM line_style_standard STD_ANSI max_balloon_radius 0.000000 min_balloon_radius 0.000000 node_radius DEFAULT sym_flip_rotated_text NO weld_symbol_standard STD_ISO y es_no_parameter_display TRUE_FALSE default_pipe_bend_note NO
1.3.6 打开配置文件(To Retrieve a Drawing Setup File)
当打开配置文件时,系统会读取文件中的值到当前工程图文件
选择菜单 DRAWING > Advanced > Retrieve 选择一个dtl文件 点击view-repaint或regen 工程图刷新
1.3.7 指定配置文件目录(Specifying Your Setup Files Directory)
在config.pro中指定:“pro_dtl_setup_dir,” >>config.pro祥解
1.3.8 编辑当前配置文件(To Modify the Current Drawing Setup File)
选择:DRAWING > Advanced > Modify Val,当前配置文件出现 编辑并保存 点击view-repaint或regen 工程图刷新
注意:修改当前配置文件后,仅仅修改当前工程图文件,除非将配置文件保存到磁盘上,这种修改并不改变配置文件的。
1.3.9 保存配置文件(To Save a Drawing Setup File to Disk )
选择:DRAWING > Advanced > Save 写好文件名,如存在可选择覆盖原文件。 系统会保存当前文件的配置方式,并将文件写到Pro/ENGINEER的启动目录下。
|