2024 Method
Changes 0
M

ElevationMarker.CreateElevation

Description:
Creates a new elevation ViewSection on the ElevationMarker at the desired index.
Remarks:
The ViewFamilyType for the new elevation ViewSection is inherited from the ElevationMarker. The new elevation ViewSection will receive a unique view name.
public ViewSection CreateElevation(
	Document document,
	ElementId viewPlanId,
	int index
)
  • document
    The document to which the new elevation ViewSection will be added.
  • viewPlanId
    The id of a ViewPlan in which the ElevationMarker is visible. The new elevation ViewSection will derive its extents and inherit settings from the ViewPlan.
  • Int32
    index
    The index on the ElevationMarker where the new elevation ViewSection will be placed. The index on the ElevationMarker must be valid and unused. View direction is determined by the index.
Return Value ViewSection The new elevation ViewSection.