Share

SubassemblyTargetInfo.TargetIds Property

Gets or sets the ObjectIdCollection of targets.



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

Syntax

C#

public ObjectIdCollection TargetIds { get; set; }

VB

Public Property TargetIds As ObjectIdCollection
	Get
	Set

C++

public:
property ObjectIdCollection^ TargetIds {
	ObjectIdCollection^ get ();
	void set (ObjectIdCollection^ value);
}

Property Value

ObjectIdCollection

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  • The count of items in the ObjectIdCollection is incorrect. When TargetType is Surface, Alignment or Profile, the count should be 0 or 1.
  • The type of ObjectId is incorrect. When TargetType is Surface, the type of ObjectId should be Surface. When TargetType is Alignment, the type of ObjectId should be Alignment. When TargetType is Profile, the type of ObjectId should be Profile. When TargetType is Offset, the type of ObjectId should be Alignment, FeatureLine, SurveyFigure, Polyline, Polyline2d or Polyline3d. When TargetType is Elevation, the type of ObjectId should be Profile, FeatureLine, SurveyFigure, Polyline, Polyline2d or Polyline3d. When TargetType is OffsetPipe, the type of ObjectId should be Network. When TargetType is ElevationPipe, the type of ObjectId should be Network.

See Also

Reference

Was this information helpful?