ElevationMarker.CreateElevationMarker
Description:
Creates a new ElevationMarker.
Creates a new ElevationMarker.
public static ElevationMarker CreateElevationMarker(
Document document,
ElementId viewFamilyTypeId,
XYZ origin,
int initialViewScale
)
-
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.
-
Int32initialViewScaleThis 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.
-
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