0% found this document useful (0 votes)
16 views6 pages

Day #02 - Element Actions

Uploaded by

mohdjunai321
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views6 pages

Day #02 - Element Actions

Uploaded by

mohdjunai321
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Dot Notation

Element Actions
Element.GetParameter Retrieve parameter value by its name.
ValueByName
Element.SetParameterB Set a parameter's value using its name.
yName
Element.Id Obtain the unique identifier of an element.

Element.Location Get the spatial location of an element.

Element.Delete Remove an element from the Revit model.

Element.IsHidden Check if the element is hidden in the view.

Element.HideInViews Hide element in specified views.

Element.UnhideInViews Unhide element in specified views.

Element.SetCategory Assign a category to an element.

Element.Category Get the category of the element.

Element.Geometry Extract the geometry of the element.

Element.Faces Retrieve the faces of the element’s geometry.

Element.Edges Get the edges of the element's geometry.

Element.Solids Extract solids from the element’s geometry.

Element.OwnerViewId Get the ID of the view that owns the element.

Element.Copy Copy an element to a new location.

#bimeraacademy
Dot Notation

Element Actions
Element.Transform Apply a transformation to the element.

Element.Rotate Rotate the element around a specified axis.

Element.Mirror Mirror the element across a defined plane.

Element.Pin Pin the element to prevent modifications.

Element.Unpin Unpin the element to allow modifications.

Element.Workset Retrieve or set the workset of the element.

Element.SubElements Access sub-elements or components of an element.

Element.Materials Get the materials assigned to the element.

Element.OverrideGraphic Override graphical settings in a view.


sSettings
Element.BoundingBox Get the bounding box of the element.

Element.Decompose Break down the element into basic properties.

Element.Family Access the family information of the element.

Element.FamilyInstance Get or set parameters specific to family instances.


Parameters
Element.Host Retrieve the host element (for hosted elements like
doors, windows)
Element.Level Retrieve the level associated with the element.

Element.PhaseCreated Get the phase when the element was created.

#bimeraacademy
Dot Notation

Element Actions
Element.PhaseDemolish Identify the phase when the element was demolished.
ed
Element.Mark Access or set the 'Mark' parameter of the element.

Element.Type Retrieve the type of the element.

Element.TypeParameters Access or modify the type parameters of the element.

Element.LookupParamete Look up a parameter by name.


r
Element.GetSubCompon Retrieve sub-components of a compound element.
ent
Element.GetLocationCurv Get the curve representing the element's location.
e
Element.SetLocationCurv Set the location curve for linear elements.
e
Element.GetSketchPlane Retrieve the sketch plane of a sketched element.

Element.SetSketchPlane Set the sketch plane for a sketched element.

Element.Room Retrieve the room containing the element.

Element.ToDSType Convert an element to its Dynamo counterpart.

Element.FromDSType Convert a Dynamo element to its Revit counterpart.

Element.AssociateToRoo Associate an element with a room.


m
Element.DisassociateFro Remove an element's association with a room.
mRoom
Element.Tag Create a tag for the element in the Revit model.

#bimeraacademy
Dot Notation

Element Actions
Element.Untag Remove a tag from the element.

Element.Reference Get a reference object for the element.

Element.GetDependentEl Retrieve elements that are dependent on the element.


ements
Element.IsFlexible Check if the element is flexible.

Element.SetFlexibility Set the flexibility state of the element.

Element.GetIntersectingEl Find other elements that intersect with the element.


ements
Element.Clone Create a duplicate of the element in the model.

Element.GetJoinedElemen Retrieve elements that are joined to the specified


ts element.
Element.JoinGeometry Join the geometry of two elements.

Element.UnjoinGeometry Separate joined geometries of two elements.

Element.GetCurve Retrieve the curve geometry if applicable.

Element.SetCurve Set the curve for elements defined by curves.

Element.GetAnalyticalMo Access the analytical model of structural elements.


del
Element.SetAnalyticalMo Define or modify the analytical model.
del
Element.Isolated Determine if the element is isolated from others.

Element.Isolate Make the element isolated within the model.

#bimeraacademy
Dot Notation

Element Actions
Element.Unisolate Remove isolation from the element.

Element.HasOverrides Check if graphical overrides are applied to the


element.
Element.RemoveOverride Remove graphical overrides from the element.
s
Element.HasConstraints Check if there are constraints attached to the element.

Element.GetConstraints Retrieve constraints associated with the element.

Element.SetConstraints Apply constraints to the element.

Element.GetModelGroup Retrieve the model group the element belongs to.

Element.AddToModelGro Add the element to a specified model group.


up
Element.RemoveFromMo Remove the element from its model group.
delGroup
Element.GetLinkedEleme Retrieve elements linked through constraints or
nts dependencies.
Element.LinkToElement Establish a link between two elements.

Element.UnlinkElement Remove an existing link between two elements.

Element.GetHost Get the host element (for hosted elements).

Element.GetHostingLevel Determine the level that hosts the element.

Element.AdjustHost Change the host of a hosted element.

Element.GetProfile Retrieve the profile geometry for elements defined by


profiles.
#bimeraacademy
Dot Notation

Element Actions
Element.SetProfile Set the profile geometry for profile-defined elements.

Element.GetStructuralT Retrieve the structural type of structural elements.


ype
Element.SetStructuralTyp Define the structural type for structural elements.
e
Element.GetSystemType Access the system type for system-based elements.

Element.SetSystemType Set or change the system type for system-based


elements.
Element.GetAssembly Retrieve the assembly that contains the element.

Element.AddToAssembly Add the element to a specific assembly.

Element.RemoveFromAss Remove the element from an assembly.


embly
Element.ResetOverrides Reset all visual overrides to default.

Element.GetFamily Access the family data for family-based elements.

#bimeraacademy

You might also like