Sets the Alignment and Profile objects associated with this baseline.
public void SetAlignmentAndProfile( ObjectId alignmentId, ObjectId profileId )
Public Sub SetAlignmentAndProfile ( alignmentId As ObjectId, profileId As ObjectId )
public: void SetAlignmentAndProfile( ObjectId alignmentId, ObjectId profileId )
| Exception | Condition |
|---|---|
| ArgumentException | This exception is raised if the specified alignmentId does not point to an Alignment object. The exception is also raised if the specified profileId does not point to a valid Profile object. It will also be raised if either the specified alignmentId or profileId are not resident in the same Database (drawing) than the baseline. Finally, the exception will also be raised if the specified profileId is not associated with the Alignment specified through the alignmentId. |