Share

Form Properties

The Form type exposes the following members.

Properties

 NameDescription
Public propertyAreProfilesConstrainedGet/set if the form's profiles are constrained.
Public propertyAssemblyInstanceId The id of the assembly instance to which the element belongs.
(Inherited from Element)
Public propertyBaseOffsetRetrieve/set the base offset of the form object. It is only valid for locked form.
Public propertyCode exampleBoundingBoxRetrieves a box that circumscribes all geometry of the element.
(Inherited from Element)
Public propertyCategoryRetrieves a Category object that represents the category or sub category in which the element resides.
(Inherited from Element)
Public propertyCombinationsThe geometry combinations that this element belongs to.
(Inherited from CombinableElement)
Public propertyCode exampleCreatedPhaseId Id of a Phase at which the Element was created.
(Inherited from Element)
Public propertyCurveLoopReferencesOnProfileThe curve references in certain curve loop, specified by profile index and curve loop index.
Public propertyCode exampleDemolishedPhaseId Id of a Phase at which the Element was demolished.
(Inherited from Element)
Public propertyCode exampleDesignOptionReturns the design option to which the element belongs.
(Inherited from Element)
Public propertyDocumentReturns the Document in which the Element resides.
(Inherited from Element)
Public propertyCode exampleGeometryRetrieves the geometric representation of the element.
(Inherited from Element)
Public propertyGroupId The id of the group to which an element belongs.
(Inherited from Element)
Public propertyHasOneOrMoreReferenceProfilesTell if the form has any reference profile.
Public propertyHasOpenGeometryTell if the form has an open geometry.
Public propertyCode exampleId A unique identifier for an Element in an Autodesk Revit project.
(Inherited from Element)
Public propertyIsInXRayModeGet/set if the form is in X-Ray mode.
Public propertyIsModifiable Identifies if the element is modifiable.
(Inherited from Element)
Public propertyIsSolidIdentifies if the GenericForm is a solid or a void element.
(Inherited from GenericForm)
Public propertyIsTransient Indicates whether an element is transient or permanent.
(Inherited from Element)
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from Element)
Public propertyLevelId The id of the level associated with the element.
(Inherited from Element)
Public propertyCode exampleLocationThis property is used to find the physical location of an element within a project.
(Inherited from Element)
Public propertyNameGet and Set the Name property
(Inherited from GenericForm)
Public propertyOwnerViewId The id of the view that owns the element.
(Inherited from Element)
Public propertyCode exampleParameter[BuiltInParameter]Retrieves a parameter from the element given a parameter id.
(Inherited from Element)
Public propertyParameter[Definition]Retrieves a parameter from the element based on its definition.
(Inherited from Element)
Public propertyParameter[Guid]Retrieves a parameter from the element given a GUID for a shared parameter.
(Inherited from Element)
Public propertyCode exampleParametersRetrieves a set containing all of the parameters that are contained within the element.
(Inherited from Element)
Public propertyParametersMapRetrieves a map containing all of the parameters that are contained within the element.
(Inherited from Element)
Public propertyPathCurveCountThe number of curves in the form path.
Public propertyPathCurveReferenceThe curve reference in the path, specified by curve index.
Public propertyPinned Identifies if the element has been pinned to prevent changes.
(Inherited from Element)
Public propertyProfileCountThe number of profiles in the form.
Public propertyProfileCurveLoopCountThe number of curve loops in certain profile, specified by profile index.
Public propertySubcategoryThe subcategory.
(Inherited from GenericForm)
Public propertyTopOffsetRetrieve/set the top offset of the form object. It is only valid for locked form.
Public propertyCode exampleUniqueId A stable unique identifier for an element within the document.
(Inherited from Element)
Public propertyVersionGuid Get the element version Guid.
(Inherited from Element)
Public propertyViewSpecific Identifies if the element is owned by a view.
(Inherited from Element)
Public propertyVisibleThe visibility of the GenericForm.
(Inherited from GenericForm)
Public propertyWorksetId Get Id of the Workset which owns the element.
(Inherited from Element)

See Also

Reference

Was this information helpful?