Show / Hide Table of Contents

    Class HoleGroup

    A group of holes, and properties holes share with other holes in the same group.

    Inheritance
    object
    HoleGroup
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public class HoleGroup

    Properties

    BoltDiameter

    The expected bolt diameter for the hole. If bolts are added to this hole their diameter will follow this property.

    Declaration
    public double BoltDiameter { get; set; }
    Property Value
    Type Description
    double

    Diameter

    The diameter of the hole.

    Declaration
    public double Diameter { get; set; }
    Property Value
    Type Description
    double

    Handle

    The database handle for this object

    Declaration
    public HoleGroupHandle Handle { get; }
    Property Value
    Type Description
    HoleGroupHandle

    IsAutoPreferredBoltType

    Specifies if the preferred bolt type for the hole should use the default bolt type defined in setup.

    Declaration
    public bool IsAutoPreferredBoltType { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    Assigning PreferredBoltType to null will turn on IsAutoPreferredBoltType. Setting it to a non-null bolt type will turn off IsAutoPreferredBoltType.

    PreferredBoltType

    The bolt type for the hole

    Declaration
    public BoltType PreferredBoltType { get; set; }
    Property Value
    Type Description
    BoltType
    Remarks

    Assigning PreferredBoltType to null will turn on IsAutoPreferredBoltType. Setting it to a non-null bolt type will turn off IsAutoPreferredBoltType.

    Exceptions
    Type Condition
    InvalidValueException

    Throw when passed a bolt type that is not defined in setup.

    SlotLength

    The widest part of a slot hole, its slot length

    Declaration
    public double SlotLength { get; set; }
    Property Value
    Type Description
    double

    SlotRotation

    Slot rotation that is offset PI/2 from what is seen in the edit screen

    Declaration
    public double SlotRotation { get; set; }
    Property Value
    Type Description
    double

    SlotRotation2

    Slot rotation of the group that matches the slot rotation seen in the hole edit screen. The original SlotRotation property is offset by PI/2 radians.

    Declaration
    public double SlotRotation2 { get; set; }
    Property Value
    Type Description
    double

    ToGlobalCoordinates

    The relative location and orientation of the hole group in global coordinates

    Declaration
    public Matrix ToGlobalCoordinates { get; }
    Property Value
    Type Description
    Matrix

    ToMaterialCoordinates

    The relative location and orientation of the hole group on the material being drilled.

    Declaration
    public Matrix ToMaterialCoordinates { get; }
    Property Value
    Type Description
    Matrix

    UseTrueGageOfOutsideLegFromMaterial

    True if this should be referenced on the outside leg gage of a clip angle. The actual measurement comes from the material being drilled, this just controls whether that measurement will be used or not.

    Declaration
    public bool UseTrueGageOfOutsideLegFromMaterial { get; }
    Property Value
    Type Description
    bool

    Methods

    Dispose(bool)

    A group of holes, and properties holes share with other holes in the same group.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Equals(object)

    A group of holes, and properties holes share with other holes in the same group.

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)

    ~HoleGroup()

    A group of holes, and properties holes share with other holes in the same group.

    Declaration
    protected ~HoleGroup()

    Get(HoleGroupHandle)

    Returns a HoleGroup object from a HoleGroupHandle if it exists in the job. Otherwise, returns null.

    Declaration
    public static HoleGroup Get(HoleGroupHandle handle)
    Parameters
    Type Name Description
    HoleGroupHandle handle
    Returns
    Type Description
    HoleGroup

    GetHashCode()

    A group of holes, and properties holes share with other holes in the same group.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    GetHolePattern()

    Return a hole pattern representing all the holes in the group.

    Declaration
    public HolePattern GetHolePattern()
    Returns
    Type Description
    HolePattern

    GetHoles()

    All the holes in the group.

    Declaration
    public HoleList GetHoles()
    Returns
    Type Description
    HoleList
    Back to top