Example #1
0
 /// <summary>
 /// This function aligns selected point objects.
 /// </summary>
 /// <param name="alignmentOption">Method by which a point is aligned.</param>
 /// <param name="ordinate">The X, Y or Z ordinate that applies if MyType is 1, 2 or 3, respectively. [L]</param>
 /// <param name="numberPoints">The number of point objects that are in a new location after the alignment is complete</param>
 /// <param name="pointNames">The name of each point object that is in a new location after the alignment is complete.</param>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void Align(ePointAlignOption alignmentOption,
                   double ordinate,
                   ref int numberPoints,
                   ref string[] pointNames)
 {
     _callCode = _sapModel.EditPoint.Align((int)alignmentOption, ordinate, ref numberPoints, ref pointNames);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException(API_DEFAULT_ERROR_CODE);
     }
 }
Example #2
0
 public void Align(ePointAlignOption alignmentOption,
                   double ordinate,
                   ref int numberPoints,
                   ref string[] pointNames)
 {
 }