Share

PressurePipeRun.FollowProfile(ObjectId, Double, Boolean) Method

Makes the pipe run follow a specified profile.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccPressurePipesMgd (in AeccPressurePipesMgd.dll) Version: 13.7.0.1276

Syntax

C#

public void FollowProfile(
	ObjectId profileId,
	double offsetValue,
	bool keepFollow
)

VB

Public Sub FollowProfile ( 
	profileId As ObjectId,
	offsetValue As Double,
	keepFollow As Boolean
)

C++

public:
void FollowProfile(
	ObjectId profileId, 
	double offsetValue, 
	bool keepFollow
)

Parameters

profileId  ObjectId
Object id of the profile used as reference.
offsetValue  Double
Offset value between pipe run and the reference profile.
keepFollow  Boolean
Whether to keep the relationship after the operation.

Exceptions

ExceptionCondition
[!: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.

Remarks

If keepFollow is true, then profileId will be saved as reference profile and offsetValue as vertical offset value. The pipe run will update accordingly when the reference profile is changed.

See Also

Reference

Was this information helpful?