ElevationMarker.CreateReferenceElevationMarker
Description:
Creates a new ElevationMarker.
Creates a new ElevationMarker.
public static ElevationMarker CreateReferenceElevationMarker(
Document document,
ElementId viewFamilyTypeId,
XYZ origin,
ElementId viewPlanId
)
-
documentThe document to which the new ElevationMarker will be added.
-
viewFamilyTypeIdThis ViewFamilyType will be used by all elevations hosted on the new ElevationMarker.
-
originThe desired origin for the ElevationMarker.
-
viewPlanIdThe ViewPlan in which the reference ElevationMarker will appear. Reference ElevationMarkers only appear in one view.
-
The ElementId viewPlanId does not correspond to a ViewPlan. -or- This view family type is not appropriate for ElevationMarkers. -or- Elevation view creation is not allowed in this family.
-
A non-optional argument was null