Drawing_Frame_and_Header_as_2D_Component

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

An error is reported if the required 2D components do not exist or have other properties.

This page discusses:

Context

Some 2D Components CAN be used as drawing frames or headers. It can be important to check presence of their instances in specific views and with specific position, angle and scale.

Check Information

Check Details Description
Applicable to: DrwDrawing
Automatic Solution:
Check Parameters:
  • StdDrawingFrameHeader_ViewNamesList: List(String).

    Names of views to be checked for the existence of 2D components. You can use Regular Expressions.

    Note: Default value is empty (i.e. no Views will be checked).
  • StdDrawingFrameHeader_2DComponentsList: List(String).

    Names of the 2D components to be checked. You can use Regular Expressions.

    Note: Default value is empty (i.e. Properties of all the 2D Components present in specified Views are checked).
  • StdDrawingFrameHeader_CheckOnlyExt2DComp: Boolean.

    If this option is activated, only 2D component instances with external references are checked.

    Note: By default, the value is set to False.
  • StdDrawingFrameHeader_2DCompMustExistInSpecViews: Boolean.

    If this option is selected, 2D components specified in the StdDrawingFrameHeader_2DComponentsList value list must exist in all views to be checked. If this option is not selected, the specified 2D components are not required.

    Note: By default, the value is set to False (i.e. 2D Components specified in StdDrawingFrameHeader_2DComponentsList are ignored and properties of all the 2D Components present in specified Views are checked.)
  • StdDrawingFrameHeader_Check2DCompPosition: Boolean.

    If this option is selected, 2D components must have the position specified using relevant Parameters. The coordinates are relative to the active axis system of the view.

    Note: By default, the value is set to False.
  • StdDrawingFrameHeader_2DCompPositionH: Length.

    The desired horizontal coordinate of 2D Components.

    Note: By default, the value is set to 0mm.
  • StdDrawingFrameHeader_2DCompPositionV: Length.

    The desired vertical coordinate of 2D Components.

    Note: By default, the value is set to 0mm.
  • StdDrawingFrameHeader_2DCompPositionTolH: Length.

    The allowed tolerance with horizontal coordinate of 2D Components.

    Note: By default, the value is set to 0.00001mm.
  • StdDrawingFrameHeader_2DCompPositionTolV: Length.

    The allowed tolerance with vertical coordinate of 2D Components.

    Note: By default, the value is set to 0.00001mm.
  • StdDrawingFrameHeader_Check2DCompScale: Boolean.

    If this option is activated, 2D components must use the specified scaling factor.

    Note: By default, the value is set to False.
  • StdDrawingFrameHeader_2DCompScale: Real.

    The desired scale of 2D Components.

    Note: By default, the value is set to 1.
  • StdDrawingFrameHeader_2DCompScaleTol: Real.

    The allowed tolerance with scale of 2D Components.

    Note: By default, the value is set to 0.00001.
  • StdDrawingFrameHeader_Check2DCompAngle: Boolean.

    If this option is activated, 2D components must have the specified angle.

    Note: By default, the value is set to False.
  • StdDrawingFrameHeader_2DCompAngle: Angle.

    The desired angle of 2D Components.

    Note: By default, the value is set to 0degree.
  • StdDrawingFrameHeader_2DCompAngleTol: Angle.

    The allowed tolerance with scale of 2D Components.

    Note: By default, the value is set to 0.00001degree.
  • StdDrawingFrameHeader_OnlyOneCompPerView: Boolean.

    If this option is activated, every view may contain only one 2D component.

    Note: By default, the value is set to False.
  • StdDrawingFrameHeader_AlsoCheckDetailSheets: Boolean.

    If this option is activated, detail sheets will be checked additionally.

    Note: By default, the value is set to False.
  • StdDrawingFrameHeader_2DCompCorrespondingToSheetDim: List(String).

    List of 2D Components whose Sheet Size is to be checked. You can use Regular Expressions.

    Note: Default value is empty (i.e. no sheet size check is performed for any 2D Component)
  • StdDrawingFrameHeader_SheetDimH: List(Length).

    List of desired width of Sheet containing corresponding 2D Component.

  • StdDrawingFrameHeader_SheetDimV: List(Length).

    List of desired height of Sheet containing corresponding 2D Component.