Makes the pipe run follow a specified profile.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void FollowProfile(
ObjectId profileId,
double offsetValue,
bool keepFollow
) |
Visual Basic |
---|
Public Sub FollowProfile ( _
profileId As ObjectId, _
offsetValue As Double, _
keepFollow As Boolean _
) |
Visual C++ |
---|
public:
void FollowProfile(
ObjectId profileId,
double offsetValue,
bool keepFollow
) |
Parameters
- profileId
- Type: ObjectId
Object id of the profile used as reference.
- offsetValue
- Type: System..::..Double
Offset value between pipe run and the reference profile.
- keepFollow
- Type: System..::..Boolean
Whether to keep the relationship after the operation.
Remarks
Exceptions
Exception | Condition |
---|
[!:System.ArgumentException] |
Thrown when profileId:
1. Is ObjectId.Null.
2. Is not an object id of Autodesk.Civil.DatabaseServices.Profile.
3. Does not specify a child profile of the underlying alignment of the pipe run.
4. Specifies a pipe run profile.
|
See Also