2025 Class
Changes 0
C

ColumnAttachment

Description:
An object representing the attachment of the top or bottom of a column to some target: a floor, roof, ceiling, beam, or brace.
Remarks:
Call IsValidColumn() and IsValidTarget() to verify that specific elements support column attachments. A column has at most one top attachment and one bottom attachment.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ColumnAttachment
public class ColumnAttachment : IDisposable
Name Return Type Description Inherited From
M AddColumnAttachment(Document, FamilyInstance, Element, Int32, ColumnAttachmentCutStyle, ColumnAttachmentJustification, Double) None Attaches the column to the target. If an attachment already exists with the same "baseOrTop" value, no attachment is made.
M Dispose() None Releases all resources used by the ColumnAttachment
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetColumnAttachment(FamilyInstance, ElementId) ColumnAttachment Look up a column attachment by specifying the target id.
M GetColumnAttachment(FamilyInstance, Int32) ColumnAttachment Look up a column attachment. There is at most one attachment on the base and one on the top.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M IsValidColumn(FamilyInstance) Boolean Says whether a FamilyInstance supports column attachments.
M IsValidTarget(Boolean, Element) Boolean Says whether the element can be used as a target for a new attachment.
M IsValidTarget(FamilyInstance, Element) Boolean Says whether the element can be used as a target for a new attachment.
M RemoveColumnAttachment(FamilyInstance, ElementId) None Removes any attachment of the column to the specified target.
M RemoveColumnAttachment(FamilyInstance, Int32) None Removes an attachment at the top or base of a column, if there is one.
M SetJustification(ColumnAttachmentJustification) None Setter of ColumnAttachmentJustification
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P AttachOffset double The offset of the column attachment.
P BaseOrTop int Identifies if this ColumnAttachment is at the base or top of the column.
P CutStyle ColumnAttachmentCutStyle Identifies whether the column, or the attached element should be cut (or if neither should be cut).
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Justification ColumnAttachmentJustification Identifies the type of justification to apply to this ColumnAttachment.
P TargetId ElementId The id of the element that is attached to the column and is described by this ColumnAttachment.