Channel Class

Inheritance Hierarchy
Curve
  Entity
    Autodesk.Civil.DatabaseServicesEntity
      Autodesk.Civil.DatabaseServicesChannel

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDrainageDesignMgd (in AeccDrainageDesignMgd.dll) Version: 13.9.960.0
Syntax
public sealed class Channel : Entity

The Channel type exposes the following members.

Properties
 NameDescription
Public propertyApplication Gets the Application. Not currently implemented.
(Inherited from Entity)
Public propertyAverageLossCoefficient Gets/Sets the channel average loss coefficient.
Public propertyBaselineId Gets the channel baseline id.
Public propertyBaselineType Gets the channel baseline type.
Public propertyCrossSectionBaseOffset Gets/Sets the channel cross section base offset.
Public propertyCrossSectionData Gets/Sets the channel cross section data.
Public propertyDescription Sets the channel's description.
(Overrides EntityDescription)
Public propertyDisplayName Gets the Entity object's display name.
(Inherited from Entity)
Public propertyDocument Gets the Document. Not currently implemented.
(Inherited from Entity)
Public propertyEndConnectionId Gets/Sets the channel end connection id.
Public propertyEndElevation Gets the channel end elevation.
Public propertyEndStation Gets/Sets the channel end station.
Public propertyEntryLossCoefficient Gets/Sets the channel entry loss coefficient.
Public propertyExitLossCoefficient Gets/Sets the channel exit loss coefficient.
Public propertyFingerPrint Gets or sets FingerPrint of the Entity.
(Inherited from Entity)
Public propertyFolderId Gets the folder ObjectId of the Entity Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity)
Public propertyIsCWSReferenceObject Gets whether the Entity is a Civil Worksharing reference object. A Civil Worksharing reference object is a Civil object shared to Shared Space. It is not editable. But it can be updated to the new version in the Shared Space.
(Inherited from Entity)
Public propertyIsCWSSourceObject Gets whether the Entity is a Civil Worksharing source object. A Civil Worksharing source object is a Civil object shared to Shared Space. It is editable and can be updated to Shared Space.
(Inherited from Entity)
Public propertyIsLongitudinalSlopesValid Gets whether channel longitudinal slopes are valid or not.
Public propertyIsPartialReferenceObject Gets whether the surface is partial reference surface.
(Inherited from Entity)
Public propertyIsReadOnlyReferenceObject Gets whether the Entity is a readonly reference object. A readonly reference object is either a data shortcut referece object or a Civil Worksharing reference object.
(Inherited from Entity)
Public propertyCode exampleIsReferencedSourceExisting For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing. This indicates whether the reference object has source entity.
(Inherited from Entity)
Public propertyIsReferenceObject Gets whether the Entity is a reference object. A reference object is located in another drawing, and linked using a data shortcut or Vault. If the entity is native to the current drawing this property returns false; if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
(Inherited from Entity)
Public propertyIsReferenceStale For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity)
Public propertyIsReferenceSubObject For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject. For example, when iterating through the structure of a pipe network referenced from another drawing, this property is true for each entity.
(Inherited from Entity)
Public propertyIsReferenceValid For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity)
Public propertyIsStationRangeDefined Gets/Sets whether to define channel station range.
Public propertyIsUsed Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity)
Public propertyLength2D Gets the channel 2D length.
Public propertyLongitudinalSlope Gets the channel longitudinal slope.
Public propertyLongitudinalSlopes Gets the channel longitudinal slopes.
Public propertyManningCoefficient Gets/Sets the channel manning coefficient.
Public propertyName Sets the channel's name.
(Overrides EntityName)
Public propertyProfileId Gets the profile id.
Public propertyShowToolTip Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity)
Public propertyStartConnectionId Gets/Sets the channel start connection id.
Public propertyStartElevation Gets the channel start elevation.
Public propertyStartStation Gets/Sets the channel start station.
Public propertyStyleId Gets or sets the channel's style Id.
(Overrides EntityStyleId)
Public propertyStyleName Gets or sets the channel's style name.
(Overrides EntityStyleName)
Top
Methods
 NameDescription
Public methodComputeFingerPrint Compute FingerPrint of the Entity.
(Inherited from Entity)
Public methodCreateFeatureLinesFromChannel 
Public methodStatic memberCode exampleCreateFromAlignment(String, ObjectId, ObjectId) Create channel from alignment and profile.
Public methodStatic memberCode exampleCreateFromAlignment(String, ObjectId, ObjectId, TupleDouble, Double, ObjectId, ObjectId) Create channel from alignment and profile with more options.
Public methodStatic memberCode exampleCreateFromFeatureLine(String, ObjectId) Create channel from feature line.
Public methodStatic memberCode exampleCreateFromFeatureLine(String, ObjectId, TupleDouble, Double, ObjectId, ObjectId) Create channel from feature line with more options.
Public methodStatic memberGetFeatureLinesCreatedFromChannel Get the feature lines that are created from the channel.
Public methodCode exampleGetReferenceInfo For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity)
Public methodSetStationRange Set the channel station range.
Top
See Also