Profile |
Exception | Condition |
---|---|
ArgumentException | Thrown when the alignmentId is invalid. |
1ObjectId alignmentId = CivilApplication.ActiveDocument.GetSitelessAlignmentIds()[0]; 2Point3d insertPosition = new Point3d(0, 0, 0); 3 4ObjectId profileViewId = ProfileView.Create(alignmentId, insertPosition);