BoltCircle Class

The BoltCircle class defines a bolt group with a circle shape.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2024.0.0+a110b435391768740483e3032720a566518c9a63
Syntax
[SerializableAttribute]
public sealed class BoltCircle : BoltGroup

The BoltCircle type exposes the following members.

Constructors
  NameDescription
Public methodBoltCircle
Creates a new bolt circle instance.
Top
Properties
  NameDescription
Public propertyBlindHoleDepth
Gets or sets the blind hole depth.
(Inherited from BoltGroup.)
Public propertyBolt
Indicates whether the instance is a bolt or just a hole.
(Inherited from BoltGroup.)
Public propertyBoltHolesAttributes
The bolt holes attributes.
(Inherited from BoltGroup.)
Public propertyBoltPositions
Gets the single bolt positions. All the bolt positions are in the XY-plane defined by the bolt group coordinate system. The given positions are in relation to the transformation plane in which the bolt group was selected.
(Inherited from BoltGroup.)
Public propertyBoltSize
The size of the bolts in the group.
(Inherited from BoltGroup.)
Public propertyBoltStandard
The standard of the bolt group.
(Inherited from BoltGroup.)
Public propertyBoltType
The type of the bolt group.
(Inherited from BoltGroup.)
Public propertyConnectAssemblies
Defines whether to connect a part or an assembly as a secondary part (false) or as a sub-assembly (true).
(Inherited from BoltGroup.)
Public propertyCutLength
The cut length.
(Inherited from BoltGroup.)
Public propertyDiameter
The diameter of the circle.
Public propertyEndPointOffset
The end point offset values of the bolt group.
(Inherited from BoltGroup.)
Public propertyExtraLength
The extra length for the bolts.
(Inherited from BoltGroup.)
Public propertyFirstPosition
The first position point.
(Inherited from BoltGroup.)
Public propertyHole1
Indicates whether the hole 1 is used.
(Inherited from BoltGroup.)
Public propertyHole2
Indicates whether the hole 2 is used.
(Inherited from BoltGroup.)
Public propertyHole3
Indicates whether the hole 3 is used.
(Inherited from BoltGroup.)
Public propertyHole4
Indicates whether the hole 4 is used.
(Inherited from BoltGroup.)
Public propertyHole5
Indicates whether the hole 5 is used.
(Inherited from BoltGroup.)
Public propertyHoleType
The special hole type: oversized, slotted, blind or no hole.
(Inherited from BoltGroup.)
Public propertyIdentifier
The identifier of the object.
(Inherited from Object.)
Public propertyIsUpToDate
Gets if the object does not have a modification which is not shared.
(Inherited from ModelObject.)
Public propertyLength
The length. An extra variable that is only set when the bolt group is made of studs instead of bolts.
(Inherited from BoltGroup.)
Public propertyModificationTime
Gets latest time of the object was modified or created.
(Inherited from ModelObject.)
Public propertyNumberOfBolts
The number of bolts in the circle.
Public propertyNut1
Indicates whether the nut 1 is used in the assembly.
(Inherited from BoltGroup.)
Public propertyNut2
Indicates whether the nut 2 is used in the assembly.
(Inherited from BoltGroup.)
Public propertyOtherPartsToBolt
The other parts to be bolted (read-only).
(Inherited from BoltGroup.)
Public propertyPartToBeBolted
The part to be bolted.
(Inherited from BoltGroup.)
Public propertyPartToBoltTo
The part to bolt to.
(Inherited from BoltGroup.)
Public propertyPlainHoleType
Gets or sets the plain hole type.
(Inherited from BoltGroup.)
Public propertyPosition
The position attributes.
(Inherited from BoltGroup.)
Public propertyRotateSlots
Gets or sets the rotation of the slots: odd, even or parallel.
(Inherited from BoltGroup.)
Public propertySecondPosition
The second position point.
(Inherited from BoltGroup.)
Public propertySlotOffsetX
Gets or sets the slotted hole offset X.
(Inherited from BoltGroup.)
Public propertySlotOffsetY
Gets or sets the slotted hole offset Y.
(Inherited from BoltGroup.)
Public propertySlottedHoleX
Gets or sets the X allowance of the slotted hole.
(Inherited from BoltGroup.)
Public propertySlottedHoleY
Gets or sets the Y allowance of the slotted hole.
(Inherited from BoltGroup.)
Public propertyStartPointOffset
The start point offset values of the bolt group.
(Inherited from BoltGroup.)
Public propertyThreadInMaterial
Whether the thread goes inside the materal or not.
(Inherited from BoltGroup.)
Public propertyTolerance
The hole tolerance.
(Inherited from BoltGroup.)
Public propertyWasher1
Indicates whether the washer 1 is used in the assembly.
(Inherited from BoltGroup.)
Public propertyWasher2
Indicates whether the washer 2 is used in the assembly.
(Inherited from BoltGroup.)
Public propertyWasher3
Indicates whether the washer 3 is used in the assembly.
(Inherited from BoltGroup.)
Top
Methods
  NameDescription
Public methodAddOtherPartToBolt
Adds the given part to the list of the other parts that should be bolted.
(Inherited from BoltGroup.)
Public methodCompareTo
Compares Identifiers of model objects.
(Inherited from ModelObject.)
Public methodDelete
Deletes the bolt circle instance with the given ID from the model database.
(Overrides ModelObjectDelete.)
Public methodEquals
Check if Identifiers of model objects are same.
(Inherited from ModelObject.)
Public methodCode exampleGetAllReportProperties
Retrieves all properties for the model object in one hashtable. Type for the returned value must be checked using type casting.
(Inherited from ModelObject.)
Public methodGetAllUserProperties
Retrieves all properties for the model object in one hashtable. Type for the returned value must be checked using type casting.
(Inherited from ModelObject.)
Public methodGetChildren
Returns an enumerator of all the children model objects.
(Inherited from ModelObject.)
Public methodGetCoordinateSystem
Returns the coordinate system for the given model object.
(Inherited from ModelObject.)
Public methodGetDoubleReportProperties
Retrieves multiple double report properties for the model object. It is faster to fetch multiple properties at once.
(Inherited from ModelObject.)
Public methodGetDoubleUserProperties
Retrieves all double properties for the model object.
(Inherited from ModelObject.)
Public methodGetDynamicStringProperty
Gets a dynamic string property from the model object.
(Inherited from ModelObject.)
Public methodGetFatherComponent
Returns the father component of the model object.
(Inherited from ModelObject.)
Public methodGetFatherPour
Returns the pour that the bolt group is associated to.
(Inherited from BoltGroup.)
Public methodGetFatherPourUnit
Returns the pour unit that the bolt group is associated to.
(Inherited from BoltGroup.)
Public methodGetHierarchicObjects
Returns an enumerator of all the connected hierarchic objects.
(Inherited from ModelObject.)
Public methodGetIntegerReportProperties
Retrieves multiple integer report properties for the model object. It is faster to fetch multiple properties at once.
(Inherited from ModelObject.)
Public methodGetIntegerUserProperties
Retrieves all integer properties for the model object.
(Inherited from ModelObject.)
Public methodGetOtherPartsToBolt
Returns an array list containing all the other parts that are bolted.
(Inherited from BoltGroup.)
Public methodGetPhase
Retrieves the phase of the model object (the phase number, the phase name, the phase comment and whether the phase is the current one or not).
(Inherited from ModelObject.)
Public methodGetReportProperty(String, Double)
Retrieves a double property of the report for the model object.
(Inherited from ModelObject.)
Public methodGetReportProperty(String, Int32)
Retrieves an integer property of the report for the model object.
(Inherited from ModelObject.)
Public methodGetReportProperty(String, String)
Retrieves a string property of the report for the model object.
(Inherited from ModelObject.)
Public methodGetSolid
Method for getting the solid information of the bolt group.
(Inherited from BoltGroup.)
Public methodGetSolid(Boolean)
Method for getting the solid information of the bolt group.
(Inherited from BoltGroup.)
Public methodGetStringReportProperties
Retrieves multiple string report properties for the model object. It is faster to fetch multiple properties at once.
(Inherited from ModelObject.)
Public methodGetStringUserProperties
Retrieves all string properties for the model object.
(Inherited from ModelObject.)
Public methodGetUserProperty(String, Double)
Retrieves a double property for the model object.
(Inherited from ModelObject.)
Public methodGetUserProperty(String, Int32)
Retrieves an integer property for the model object.
(Inherited from ModelObject.)
Public methodGetUserProperty(String, String)
Retrieves a string property for the model object.
(Inherited from ModelObject.)
Public methodInsert
Inserts the bolt circle into the model database. All the attributes must be set.
(Overrides ModelObjectInsert.)
Public methodModify
Modifies the existing bolt circle in the model database to match the current one.

Note, the IDs of Part To Bolt To, Part To Be Bolted and OtherParts cannot be modified.

(Overrides ModelObjectModify.)
Public methodRemoveOtherPartToBolt
Removes the given part from the list of the other bolted parts.
(Inherited from BoltGroup.)
Public methodSelect
Selects a bolt circle from the model database. The ID must be set.
(Overrides ModelObjectSelect.)
Public methodSetDynamicStringProperty
Sets a dynamic string property for the model object.
(Inherited from ModelObject.)
Public methodSetLabel
Sets a label for an object when a new instance is created, this method must be called before Insert. The label is used in plug-ins for identifying the changed object in modification.
(Inherited from ModelObject.)
Public methodSetPhase
Sets the phase of the model object.
(Inherited from ModelObject.)
Public methodSetUserProperties
Sets multiple properties for the model object.
(Inherited from ModelObject.)
Public methodSetUserProperty(String, Double)
Sets a double property for the model object.
(Inherited from ModelObject.)
Public methodSetUserProperty(String, Int32)
Sets an integer property for the model object.
(Inherited from ModelObject.)
Public methodSetUserProperty(String, String)
Sets a string property for the model object.
(Inherited from ModelObject.)
Top
Examples
using Tekla.Structures.Model;
using Tekla.Structures.Geometry3d;
using System;

public class Example
{
       public void Example1()
       {
           ContourPlate cp = new ContourPlate();
           cp.Profile.ProfileString = "PL20";
           cp.AddContourPoint(new ContourPoint(new Point( 9000,  6000, 0),null));
           cp.AddContourPoint(new ContourPoint(new Point(12000,  6000, 0),null));
           cp.AddContourPoint(new ContourPoint(new Point(12000, 12000, 0),null));
           cp.AddContourPoint(new ContourPoint(new Point( 9000, 12000, 0),null));

           if (!cp.Insert())
               Console.WriteLine("ContourPlate Insert failed!");

           BoltCircle B = new BoltCircle();

           B.PartToBeBolted = cp;
           B.PartToBoltTo   = cp;

           B.FirstPosition  = new Point( 9200,  6200, 0);
           B.SecondPosition = new Point(12000, 12000, 0);

           B.BoltSize     = 16;
           B.Tolerance    = 3.00;
           B.BoltStandard = "7968";
           B.BoltType     = BoltGroup.BoltTypeEnum.BOLT_TYPE_WORKSHOP;
           B.CutLength    = 105;

           B.Length       = 100;
           B.ExtraLength  = 15;
           B.ThreadInMaterial = BoltGroup.BoltThreadInMaterialEnum.THREAD_IN_MATERIAL_NO;

           B.Position.Depth          = Position.DepthEnum.MIDDLE;
           B.Position.Plane          = Position.PlaneEnum.MIDDLE;
           B.Position.Rotation       = Position.RotationEnum.FRONT;

           B.Bolt    = true;
           B.Washer1 = true;
           B.Washer2 = true;
           B.Washer3 = true;
           B.Nut1    = true;
           B.Nut2    = true;

           B.Hole1   = true;
           B.Hole2   = true;
           B.Hole3   = true;
           B.Hole4   = true;
           B.Hole5   = true;

           B.NumberOfBolts = 7;
           B.Diameter      = 160;

           if (!B.Insert())
               Console.WriteLine("BoltCircle Insert failed!");
       }
}
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next