2020 Class
Changes 6
C

AnalyticalModelSketchComponent

Description:
This is one component of an AnalyticalModelSketch, which exists to provide greater granularity over the Analytical Model than at the Element level.
Remarks:
This may or may not be a simple one-to-one mapping to ElementIds. For instance, one Element may be defined by multiple Curve Elements within a Sketch. But another Element may not have that designation, and the individual curves are not defined by any other Elements within a document.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.AnalyticalModelSketchComponent
Name Return Type Description
M Dispose() None Releases all resources used by the
M EnableAutoDetect() None Enables Auto-detect on Sketch Component.
M GetAnalyticalAlignmentMethod() AnalyticalAlignmentMethod Retrieves Analytical Alignment Method preset for Sketch Component.
M GetAnalyticalProjectionDatumPlane() ElementId Retrieves Datum Plane ElementId for Analytical Projection
M GetAnalyticalProjectionType() AnalyticalProjectionType Retrieves Analytical Projection Type preset for Sketch Component.
M GetAutoDetectMatchedElements() ICollection<ElementId> Retrieves ElementIds that Sketch Component is Auto-detecting against.
M GetComponentElementId() ElementId Retrieves ElementId of Sketch Component, if such an operation makes sense.
M IsAutoDetectEnabled() bool Indicates whether Auto-detect is enabled on the given Sketch component.
M IsValidAnalyticalAlignmentMethod(AnalyticalAlignmentMethod) bool Indicates whether Analytical Alignment Method is valid for Sketch Component.
M IsValidAnalyticalProjectionType(AnalyticalProjectionType) bool Indicates whether Analytical Projection Type is valid for Sketch Component.
M IsValidDatumPlaneForProjection(ElementId) bool Indicates whether Datum Plane is valid Analytical Projection of Sketch Component.
M SetAnalyticalAlignmentMethod(AnalyticalAlignmentMethod) None Sets the Alignment Method to the supplied Analytical Alignment Method
M SetAnalyticalProjectionDatumPlane(ElementId) None Sets the Analytical Projection to supplied Datum Plane.
M SetAnalyticalProjectionType(AnalyticalProjectionType) None Sets the Analytical Projection to the supplied Analytical Projection Type.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.