Drawing Frame and Header as 2D Component

This check verifies whether certain views contain one or more 2D components with certain properties.

If the required 2D components do not exist or have other properties, the check fails and an error appears.

This page discusses:

Context

You can use some 2D components as drawing frames or as headers.

Use this check to verify the presence of their instances in specific views and with a specific position, angle, and scale.

Check Information

Check Details Description
Applicable to: DrwDrawing
Automatic Solution:
Check Parameters:
  • StdDrawingFrameHeader_2DCompPositionV: Length type.

    Specifies the vertical coordinate of 2D components.

    Note: By default, the value is 0 and the display unit is mm.

  • StdDrawingFrameHeader_2DCompPositionTolH: Length type.

    Specifies the allowed tolerance for the horizontal coordinate of 2D components.

    Note: By default, the value is 1.0E-5 and the display unit is mm.

  • StdDrawingFrameHeader_2DCompMustExistInSpecViews: Boolean type.

    Specifies whether the 2D components listed in the StdDrawingFrameHeader_2DComponentsList parameter must exist in all views to be verified.

    If you do not select the option, the specified 2D components are not required.

    Note: By default, the value is false.

    The 2D components listed in the StdDrawingFrameHeader_2DComponentsList parameter are ignored, and the properties of all the 2D components included in the specified views are verified.

  • StdDrawingFrameHeader_2DCompPositionTolV: Length type.

    Specifies the allowed tolerance for the vertical coordinate of 2D components.

    Note: By default, the value is 1.0E-5 and the display unit is mm.

  • StdDrawingFrameHeader_2DCompScale: Real type.

    Specifies the scale of 2D components.

    Note: By default, the value is 1.0.

  • StdDrawingFrameHeader_2DCompScaleTol: Real type.

    Specifies the allowed tolerance with the scale of 2D components.

    Note: By default, the value is 1.0E-5.

  • StdDrawingFrameHeader_2DCompAngleTol: Angle type.

    Specifies the allowed tolerance with the scale of 2D components.

    Note: By default, the value is 1.0E-5.

  • StdDrawingFrameHeader_2DCompPositionH: Length type.

    Specifies the desired horizontal coordinate of 2D components.

    Note: By default, the value is 0.0 and the display unit is mm.

  • StdDrawingFrameHeader_2DComponentsList: String type.

    Specifies the names of the 2D components to verify.

    Notes:
    • You can use regular expressions.
    • By default, the field is empty. The properties of all the 2D components included in the specified views are verified

  • StdDrawingFrameHeader_2DCompCorrespondingToSheetDim: String type.

    Specifies the list of 2D components with a sheet size to verify.

    Notes:
    • You can use regular expressions.
    • By default, the field is empty. No sheet size is verified for any 2D component.

  • StdDrawingFrameHeader_SheetDimV: Length type.

    Specifies the list of the desired height for the sheet that includes the corresponding 2D component.

    Note: By default, the display unit is mm.

  • StdDrawingFrameHeader_Check2DCompAngle: Boolean type.

    Specifies whether the 2D components must have the specified angle.

    Note: By default, the value is false.
  • StdDrawingFrameHeader_SheetDimH: Length type.

    Specifies the list of the desired width for the sheet that includes the corresponding 2D component.

    Note: By default, the display unit is mm.

  • StdDrawingFrameHeader_Check2DCompPosition: Boolean type.

    Specifies whether the position of the 2D components must correspond to the one specified using the relevant parameters.

    The coordinates are relative to the active axis system of the view.

    Note: By default, the value is false.

  • StdDrawingFrameHeader_OnlyOneCompPerView: Boolean type.

    Specifies whether every view can contain only one 2D component.

    Note: By default, the value is false.
  • StdDrawingFrameHeader_CheckOnlyExt2DComp: Boolean type.

    Specifies whether to verify only 2D component instances with external references.

    Note: By default, the value is false.

  • StdDrawingFrameHeader_Check2DCompScale: Boolean type.

    Specifies whether 2D components must use the specified scaling factor.

    Note: By default, the value is false.

  • StdDrawingFrameHeader_2DCompAngle: Angle type.

    Specifies the desired angle of 2D components.

    Note: By default, the value is 0.0.

  • StdDrawingFrameHeader_AlsoCheckDetailSheets: Boolean type.

    Specifies whether to check also detail sheets.

    Note: By default, the value is false.

  • StdDrawingFrameHeader_ViewNamesList: String type.

    Specifies the names of views to verify for the existence of 2D components.

    Notes:
    • You can use regular expressions.
    • By default, the field is empty. No view is verified.

Check Failure Resolution

If the check fails, modify the properties of the 2D component:

  1. In the tree, right-click the 2D component and select Properties.
  2. In the 2D Component Instance tab, modify the position, angle, or scale values.