Gets or sets the ObjectIdCollection of targets.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public ObjectIdCollection TargetIds { get; set; } |
Visual Basic |
---|
Public Property TargetIds As ObjectIdCollection
Get
Set |
Visual C++ |
---|
public:
property ObjectIdCollection^ TargetIds {
ObjectIdCollection^ get ();
void set (ObjectIdCollection^ value);
} |
Exceptions
Exception | Condition |
---|
System..::..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