OpenBridge Modeler

Sheet Template File

If you select the drawing borders of the selection pages or the Optimized Size option, this selection is based on the entries in the sheet pattern file.

You can create specific drawing borders and insertion definitions for different customers and be sure that no other frames will be used at the output. In the DetailCenter Express! you can create specific defaults with different files for your customers.

The file is a text file having the extension .frm, which can also contain some comments marked with a semicolon at the beginning of the line. The default file is pro_st3d.frm in the subordinate folder of your ProSteel installation.

Structure of a Sheet Template File

The file is divided into the areas header, frame field tags and the actual frame definitions. All entries consist of a group name in pointed brackets and the data group of keyword, equals sign and the following data.

[GROUP NAME]
Keyword1=Data1
Keyword2=Data2
...

You needn’t fill in entries, which are not required, or the complete entry can be omitted.

  1. Header Area, Group Name [HEADER]

    You enter a short name under the keyword Name (for later program options) and a short file description under the keyword Description. The description will then be displayed in the selection page of the DetailCenter Express!

  2. Frame Field Attributes, Group Name [TITLECELL]

    Here, you specify which current program data will be transferred into which cell attribute of the frame field at running time. You can thus even specify your own defined frame fields with your own tags.

    You can assign cell tags to the following keywords. Depending on the settings in the DetailCenter Express! these are filled with the current values (Express) or with the drawing information of the model drawing. In addition, you can connect some of the properties of the corresponding detail with cell tags. This allows you e.g. to refrain from a position flag or detail labeling at single parts and thus to obtain more space for display.

    FileName complete path of the created 2D-drawing (Express).
    Customer client (Express).
    ProjectName project name of the model
    ProjectNumber project number of the model
    JobName order (Express) or order name of the model.
    JobNumber order number (Express) or number of order number of the model.
    DrawingName component part description with position number (Express) or drawing name of the model.
    DrawingNumber drawing number (Express) or drawing number of the model.
    DrawingPage sheet number (Express).
    DrawingIndex drawing index (Express) or drawing index of the model.
    DrawingScale scale (Express).
    DoneBy 'done by' (Express) or 'signed by' of the model.
    Date 'done on' (Express) or 'signed on' of the model.
    CheckedBy 'checked by' of the model.
    CheckedDate 'checked on' of the model.
    ClearedBy 'cleared by' of the model.
    ClearedDate 'cleared on' of the model.
    Specification 1-4 'LV Pos 1' etc. of the model.
    Note 1–4 'comment 1' etc. of the model
    DetailPosNumber position number of the detail
    DetailShipNumber shipping number of the detail
    DetailName designation of the detail
    DetailMaterial material designation of the detail
    DetailLength length of the detail
    DetailWeight total weight of the detail
    DetailCount total number of the detail
    DetailNote note field 1 and 2 of the detail
    DetailFamilyClass component part family name of the detail
  3. Drawing Number Definition, Group Name [DRAWINGNUMBER]

    Here, you define according to which pattern the drawing number and the file name of the drawing have to be structured. You can mix fixed and variable parts and build the designations of variables as you like, (in order to avoid e.g. identical names with used terms).

    In the first two entries ‘Drawing Number Template’ and ‘Filename Template’ you indicate the definition, consisting of fixed values and the variable symbols which are mentioned in the following. You may use your own template for the file name if your drawing number has to contain signs, which mustn’t be used in a Windows-file name. If you don’t fill in the field 'Filename Template', the specified drawing number will be used instead as file name.

    Drawing Name Template definition for the drawing name
    DrawingNumberTemplate definition for the drawing number
    FileNameTemplate definition for the file name
    ProjectNumberSymbol variable for the project number
    JobNumberSymbol variable for the order number
    DrawingNumberSymbol variable for the drawing number of drawing information
    DrawingPageSymbol variable for the continuous sheet number
    DrawingIndexSymbol variable for the modification index
    DwgNumberCodeSymbol variable for the frame code of the frame definitions
    PositionNumberSymbol variable for the position number of the detail
    GroupPositionNumberSymbol variable for the position number of the parent group
    ObjectNameSymbol variable for the component part name
    ObjectTypeSymbol variable for the component part type
    YearSymbol variable for the current year
    MonthSymbol variable for the current month (numeric, 1-12)
    DaySymbol variable for the current day (numeric, 1-31)
    DrawingTypeSymbol variable for the drawing-type
    UserVarSymbol variable for the free text from the fill frame field dialog
    DefaultObjectType text for component part type, Others except the following types
    ColumnObjectType text for component part type, Support
    BeamObjectType text for component part type, Horizontal support
    StiffenerObjectType text for component part type, Stiffener
    WebAngleObjectType text for component part type, Web angle
    StandardPlateObjectType text for component part type, Poly-plate
    ConnectionPlateObjectType text for component part type, Head-plate
    BasePlateObjectType text for component part type, Base plate
    MainPartDrawingType text for drawing type, single part drawing for main part of group
    SubPartDrawingType text for drawing type, single part drawing for sub part of group
    GroupDrawingType text for drawing type, group drawing
    SinglePartDrawingType text for drawing type, single part drawing without group
    OverviewDrawingType text for drawing type, overview drawing

    If you want e.g. to obtain a drawing number containing your company’s name "ABC", the year, the drawing type "BG" for groups or "ET" for single parts as well as the position number (each one separated by points, such as e.g. ABC.2002.BG1000), you have to define the following fields. All other fields don’t have to be filled in.

    DrawingNumberTemplate=ABC.#J#.#DWG##POS#
    FileNameTemplate=ABC.#J#-#DWG##POS# ...(additionally because of the points)
                   
    PositionNumberSymbol=#POS#
    YearSymbol=#J#
    DrawingTypeSymbol=#DWG#
    MainPartDrawingType=ET
    SubPartDrawingType=ET
    GroupDrawingType=BG
    SinglePartDrawingType=ET

    As already mentioned before, you can define the designations of the variables, as you like. Of course it is recommended to use special symbols there, too for better identification or in order to avoid a wrong replacing of text. (#POS# instead of only POS).

  4. Frame Definitions, Group Name [NAME1], [NAME2] etc.

    Here, you enter which drawing frames are used and specify the insertion areas of details and parts lists. Each available frame obtains an own group. The group names then will be displayed in the selection lists of the DetailCenter Express! .

    Note: The keywords ‘Path’, ‘SizeX’, ‘SizeY’, ‘Area1’ and Area2 have to be assigned with current values; otherwise the frame will not be accepted for selection.
    Path

    complete path of drawing frame;

    If you enter a file name without path, the file will be expected in the subordinate folder of ProSteel

    SizeX the dimensions of the drawing frame in X-direction
    SizeY the dimensions of the drawing frame in Y-direction
    Area1 the insertion area of details as 2D-points; specify the lower left and the upper right corner of the area in the format (x1,y1)-(x2,y2)
    Area2 the area of the title cell of the drawing as 2D-points
    ExcludeArea1 exclusion area as 2D-points where no detail cell can be inserted
    ExcludeArea2 exclusion area as 2D-points where no detail cell can be inserted
    ExcludeArea3 exclusion area as 2D-points where no detail cell can be inserted
    ExcludeArea4

    exclusion area as 2D-points where no detail cell can be inserted

    Note: Later, the exclusion areas can e.g. be used for the insertion of parts lists.
    DwgNumberCode The code of the drawing frame; this code can be adopted into the drawing number

    The following entries describe the position of the parts list

    ListStyle the name of parts list definition for the drawing parts list
    ListScale scale of the drawing parts list
    ListInsertPoint insertion point for the drawing parts list as 2D-point; enter this point in the format (x, y).
    ListHorizontalStart description of the position of the parts list’s insertion point in horizontal direction; Enter left for left or right for right.
    ListVerticalStart description of the position of the parts list’s insertion point in vertical direction; Enter top for top or down for down.
    The two entries describe the position of the point related to the list (on the left at the top, etc.). The list is extended according to this default.
    ListType type of drawing parts list (allowed values: group, single, released)
    ListGroupCount the number of groups is used in the parts list
    ListGroupMultiplayCount the number of pieces is multiplied with the number of groups

    The following entries describe the position of the containment list

    ContainmentListStyle the name of the definition for the containment list
    ContainmentListScale scale of the containment list
    ContainmentListInsertPoint insertion point of the containment list as 2D-point
    ContainmentListHorizontalStart horizontal alignment of the containment list (left, right)
    ContainmentListVerticalStart vertical alignment of the containment list (top, down)

    If you define your own frames, please note that the lower left point of the drawing frame has the world coordinates (0, 0) and that you store the drawing in top view on the frame. The positive X-axis is showing to the right, the positive Y-axis to the top. 

    Enter the frame field as a cell with the name of the drawing file (i.e. as cell 'dina4', if the drawing frame has to be saved as 'dina4.dwg'.