Show / Hide Table of Contents

    Class BoltMaterial

    A bolt, added as a material, so that it will appear on the bill of material.

    Inheritance
    object
    Material
    BoltMaterial
    Inherited Members
    Material.Get(MaterialHandle)
    Material.GetSurface()
    Material.Drill(HolePattern)
    Material.Piecemark
    Material.ToGlobalCoordinates
    Material.ToMemberCoordinates
    Material.Handle
    Material.Holes
    Material.Color
    Material.IsUserDescription
    Material.Description
    Material.Grade
    Material.IsMain
    Material.IsSystem
    Material.SurfaceArea
    Material.Weight
    Material.IsDummy
    Material.IsFitted
    Material.IsBent
    Material.IsStretched
    Material.SurfaceFinish
    Material.IsAutoSurfaceFinish
    Material.Finish
    Material.IsInABM
    Material.ABM_Name
    Material.ABM_ID
    Material.ABM_Note
    Material.UseAutoLengthInABM
    Material.UsePointToPointLengthInABM
    Material.ABM_PointToPointLength
    Material.ABM_Length
    Material.CustomPropertyMapHandle
    Material.ReferenceLocation
    Material.Quantity
    Material.Usage
    Material.MaterialUse
    Material.IsCNCDownloaded
    Material.IsCNCScribeOntoOther
    Material.RevisionLevel
    Material.RevisionDate
    Material.Route1
    Material.Route2
    Material.Route3
    Material.Route4
    object.GetType()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public sealed class BoltMaterial : Material

    Constructors

    BoltMaterial()

    A bolt, added as a material, so that it will appear on the bill of material.

    Declaration
    public BoltMaterial()

    Properties

    BoltFinish

    The finish type of the bolt

    Declaration
    public BoltFinish BoltFinish { get; set; }
    Property Value
    Type Description
    BoltFinish
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    BoltType

    Bolt setup information currently used on bolt

    Declaration
    public BoltType BoltType { get; set; }
    Property Value
    Type Description
    BoltType
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    BreakoutNutAndWasherOnBill

    If true, then nuts and washers are broken out into their own lines on the bill of material.

    Declaration
    public bool BreakoutNutAndWasherOnBill { get; set; }
    Property Value
    Type Description
    bool
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    CombineMaterialPlateWashers

    If true, then washers will be combined based on the PlateWasherCombinationMethod setting. If false, then each bolt will get its own plate washer.

    Declaration
    public bool CombineMaterialPlateWashers { get; set; }
    Property Value
    Type Description
    bool
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    Diameter

    The diameter of the bolt shaft.

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

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GripLength

    The distance between the inside of the bolt head and inside of the nut

    Declaration
    public double GripLength { get; set; }
    Property Value
    Type Description
    double
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    HillsideWasherAngle

    The angle from perpendicular of the fastener axis to the fastened material surface.

    Declaration
    public double HillsideWasherAngle { get; set; }
    Property Value
    Type Description
    double
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    IsBoltless

    If true then this bolt has only a bolt head

    Declaration
    public bool IsBoltless { get; set; }
    Property Value
    Type Description
    bool
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    IsFieldBolt

    True if this is a bolt to be installed in the field, false if it's to be installed in the shop

    Declaration
    public bool IsFieldBolt { get; set; }
    Property Value
    Type Description
    bool
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    IsHeadless

    If true, then this bolt has no bolt head.

    Declaration
    public bool IsHeadless { get; set; }
    Property Value
    Type Description
    bool
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    IsTensionControl

    True if this is a tension control bolt

    Declaration
    public bool IsTensionControl { get; set; }
    Property Value
    Type Description
    bool
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    Length

    The length of the bolt shaft

    Declaration
    public double Length { get; set; }
    Property Value
    Type Description
    double
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    Nuts

    The list of nuts. This list is a copy, so modifying this list will not remove, add, or reorder nuts. Use AddNut and RemoveNut if you need to do so.

    Declaration
    public NutList Nuts { get; }
    Property Value
    Type Description
    NutList
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    PlateWasherCombinationMethod

    Return the plate washer method set.

    Declaration
    public PlateWasherCombinationMethod PlateWasherCombinationMethod { get; set; }
    Property Value
    Type Description
    PlateWasherCombinationMethod
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    Rotation

    The rotation of the bolt

    Declaration
    public double Rotation { get; set; }
    Property Value
    Type Description
    double
    Exceptions
    Type Condition
    NotAddedException

    Thrown when setting data on the object without having added it to a transaction

    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WasherHeadPrimary

    Primary washer under the bolt head. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer WasherHeadPrimary { get; }
    Property Value
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WasherHeadSecondary

    Secondary washer under the bolt head. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer WasherHeadSecondary { get; }
    Property Value
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WasherHeadTertiary

    Tertiary washer under the bolt head. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer WasherHeadTertiary { get; }
    Property Value
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WasherNutPrimary

    Primary washer under the nut. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer WasherNutPrimary { get; }
    Property Value
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WasherNutSecondary

    Secondary washer under the nut. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer WasherNutSecondary { get; }
    Property Value
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WasherNutTertiary

    Tertiary washer under the nut. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer WasherNutTertiary { get; }
    Property Value
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    WashersUnderHead

    A list of washers on this bolt under the nut with some positive quantity and non WasherType.None. Note that modifying the list will not add, remove, or re-order the washers on the bolt.

    Declaration
    public WasherList WashersUnderHead { get; }
    Property Value
    Type Description
    WasherList

    WashersUnderNut

    A list of washers on this bolt under the nut with some positive quantity and non WasherType.None. Note that modifying the list will not add, remove, or re-order the washers on the bolt.

    Declaration
    public WasherList WashersUnderNut { get; }
    Property Value
    Type Description
    WasherList
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    Methods

    AddNut()

    Added a nut into the first free slot. There are two nuts allowed for each bolt, this will find the first of those two that's set to NutType.None and put in a NutType.HeavyHex and return it. If all slots are full, this will return null.

    Declaration
    public Nut AddNut()
    Returns
    Type Description
    Nut

    AddWasherHead()

    Added a washer into the first free slot. There are three washers allowed for each bolt (ignoring the Quantity field), this will find the first of those three that's set to WasherType.None and put in a WasherType.Hardened or set with quantity 0 and set to a quantity of 1 and return it. If all slots are full, this will return null.

    Declaration
    public Washer AddWasherHead()
    Returns
    Type Description
    Washer

    AddWasherNut()

    Added a washer into the first free slot. There are three washers allowed for each bolt (ignoring the Quantity field), this will find the first of those three that's set to WasherType.None and put in a WasherType.Hardened or set with quantity 0 and set to a quantity of 1 and return it. If all slots are full, this will return null.

    Declaration
    public Washer AddWasherNut()
    Returns
    Type Description
    Washer

    Dispose(bool)

    A bolt, added as a material, so that it will appear on the bill of material.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    Material.Dispose(bool)

    GetNuts()

    The list of nuts. This list is a copy, so modifying this list will not remove, add, or reorder nuts. Use AddNut and RemoveNut if you need to do so.

    Declaration
    public NutList GetNuts()
    Returns
    Type Description
    NutList
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWasherHeadPrimary()

    Primary washer under the bolt head. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer GetWasherHeadPrimary()
    Returns
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWasherHeadSecondary()

    Secondary washer under the bolt head. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer GetWasherHeadSecondary()
    Returns
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWasherHeadTertiary()

    Tertiary washer under the bolt head. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer GetWasherHeadTertiary()
    Returns
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWasherNutPrimary()

    Primary washer under the nut. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer GetWasherNutPrimary()
    Returns
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWasherNutSecondary()

    Secondary washer under the nut. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer GetWasherNutSecondary()
    Returns
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWasherNutTertiary()

    Tertiary washer under the nut. A washer with WasherType.None indicates there is no washer.

    Declaration
    public Washer GetWasherNutTertiary()
    Returns
    Type Description
    Washer
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    GetWashersUnderHead()

    A list of washers on this bolt under the nut with some positive quantity and non WasherType.None. Note that modifying the list will not add, remove, or re-order the washers on the bolt.

    Declaration
    public WasherList GetWashersUnderHead()
    Returns
    Type Description
    WasherList

    GetWashersUnderNut()

    A list of washers on this bolt under the nut with some positive quantity and non WasherType.None. Note that modifying the list will not add, remove, or re-order the washers on the bolt.

    Declaration
    public WasherList GetWashersUnderNut()
    Returns
    Type Description
    WasherList
    Exceptions
    Type Condition
    NotLockedException

    Thrown when reading or writing the property of a bolt that was added to a transaction but is unlocked

    RemoveNut(Nut)

    This will clear the slot represented by the nut passed in.

    Declaration
    public void RemoveNut(Nut nut)
    Parameters
    Type Name Description
    Nut nut

    RemoveWasher(Washer)

    This will clear the slot represented by the washer passed in.

    Declaration
    public void RemoveWasher(Washer washer)
    Parameters
    Type Name Description
    Washer washer
    Back to top