2025.3 Method
Changes 5
M

ElevationMarker.CreateElevationMarker

Description:
Creates a new ElevationMarker.
public static ElevationMarker CreateElevationMarker(
	Document document,
	ElementId viewFamilyTypeId,
	XYZ origin,
	int initialViewScale
)
  • document
    The document to which the new ElevationMarker will be added.
  • viewFamilyTypeId
    This ViewFamilyType will be used by all elevations hosted on the new ElevationMarker.
  • origin
    The desired origin for the ElevationMarker.
  • Int32
    initialViewScale
    This view scale will be automatically applied to new elevations created on the ElevationMarker. The scale is the ratio of true model size to paper size.
Return Value ElevationMarker The new ElevationMarker.
  • This view family type is not appropriate for ElevationMarkers. -or- The denominator X of the view scale 1/X must be in the range 1 to 24,000. -or- Elevation view creation is not allowed in this family.
  • A non-optional argument was null