The PressurePipe type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddToProfileView |
Draws the part into the specified profile view.
(Inherited from PressurePart.) | |
| ComputeFingerPrint |
Compute FingerPrint of the Entity.
(Inherited from Entity.) | |
| ConnectToPipe | ||
| DisconnectAt |
Disconnects from the part connected at the specified port index.
(Inherited from PressurePart.) | |
| Get3dBody |
Gets the pressure part’s 3d body
(Inherited from PressurePart.) | |
| GetConnectionAt |
Gets the connection info at the port index.
For a pipe, 0 is the start, 1 is the end (also see Pipe.StartConnection, and pipe.EndConnection)
For an appurtenance or a fitting, the index is the part's port.
(Inherited from PressurePart.) | |
| GetProfileViewsDisplayingMe |
Gets the object id collection of all the profile views in which this part was drawn.
(Inherited from PressurePart.) | |
| GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity.) | |
| GetVerticalSegments |
Gets the array of vertical segments.
| |
| RemoveFromAllProfileViews |
Remove the part from all the profile views in which it is drawn.
(Inherited from PressurePart.) | |
| RemoveFromProfileView |
Remove the part from the specified profile view in which it is drawn.
(Inherited from PressurePart.) |
Properties
| Name | Description | |
|---|---|---|
| Application |
Gets the Application. Not currently implemented.
(Inherited from Entity.) | |
| Bearing |
Gets the bearing of the pressure pipe object.
| |
| Bulge |
Gets the Bulge of the pressure pipe object.
If it is equal to 0.0, this pipe is straight, if not, it is curved pipe.
| |
| CenterPointLocation |
Gets the center point location (easting,northing) of the pressure pipe object.
If the property does not exist for this part, an exception will be thrown
| |
| ChordLength |
Gets the chrod length of the pressure pipe object.
If the property does not exist for this part, an exception will be thrown
| |
| ConnectionCount |
Gets the number of connections for this part.
Returns 2 for a pipe.
Returns n for an appurtenance or a fitting, depending on the part's number of ports.
(Inherited from PressurePart.) | |
| Description |
Gets or sets the Entity object's description.
(Inherited from Entity.) | |
| DisplayName |
Gets the Entity object's display name.
(Inherited from Entity.) | |
| Document |
Gets the Document. Not currently implemented.
(Inherited from Entity.) | |
| EndConnection |
Gets the connection at the end of the pressure pipe
| |
| EndDir |
Gets the end direction of the pressure pipe object.
If the property does not exist for this part, an exception will be thrown
| |
| EndElevation |
Gets the end elevation of the pressure pipe.
| |
| EndFittingId | Obsolete.
Gets the end fitting id of the Pipe. If no connected fitting, return ObjectId::Null.
| |
| EndOffset |
Gets the offset of the ending point to the reference alignment.
| |
| EndPartId |
Gets the end part id of the Pipe. If no connected part, return ObjectId::Null.
| |
| EndPoint |
Gets or sets the endpoint of the Pipe.
| |
| EndStation |
Gets the station of the ending point to the reference alignment.
| |
| FingerPrint |
Gets or sets FingerPrint of the Entity.
(Inherited from Entity.) | |
| FolderId |
Gets the folder ObjectId of the Entity
Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity.) | |
| HasVerticalSegments |
Gets whether the pipe has vertical segments.
| |
| HorizontalRadius |
Gets the horizontal radius of the pressure pipe object.
| |
| InnerDiameter |
Gets the inner diameter of the pressure pipe.
| |
| IsCurve |
Gets whether the the pipe is a curved pipe in plan.
| |
| IsReferencedSourceExisting |
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.) | |
| IsReferenceObject |
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.) | |
| IsReferenceStale |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity.) | |
| IsReferenceSubObject |
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.) | |
| IsReferenceValid |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity.) | |
| IsUsed |
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity.) | |
| IsVerticalCurve |
Gets whether the pipe is a curved pipe in vertical.
| |
| IsVerticalSag |
Gets whether the pipe is a sag curved pipe in vertical.
| |
| Length2DCenterToCenter |
Gets the two-dimensional length of the pressure pipe,
measured from the center of the connected starting fitting to the center of the connected ending fitting.
| |
| Length3DCenterToCenter |
Gets the three-dimensional length of the pipe,
measured from the center of the connected starting fitting to the center of the connected ending fitting.
| |
| MaximumCover |
Gets the maximum cover of the pressure pipe object.
| |
| MinimumCover |
Gets the minimum cover of the pressure pipe object.
| |
| Name |
Gets part's name.
(Inherited from PressurePart.) | |
| NetworkId |
Gets the object id of the network to which this part belongs.
(Inherited from PressurePart.) | |
| NetworkName |
Gets the name of the network to which this part belongs.
(Inherited from PressurePart.) | |
| NominalDiameter |
Gets the nominal diameter of the pressure pipe.
| |
| OuterDiameter |
Gets the outer diameter of the pressure pipe.
| |
| ParamsBool | Obsolete. Gets the boolean parameters collection. (Inherited from PressurePart.) | |
| ParamsDouble | Obsolete. Gets the double parameters collection. (Inherited from PressurePart.) | |
| ParamsLong | Obsolete. Gets the long parameters collection. (Inherited from PressurePart.) | |
| ParamsString | Obsolete. Gets the string parameters collection. (Inherited from PressurePart.) | |
| PartData |
Gets the pressure part data, which contain dynamic content data.
(Inherited from PressurePart.) | |
| PartDescription |
Gets the part’s description.
(Inherited from PressurePart.) | |
| PartDomain |
Gets the pressure part's domain type
(Inherited from PressurePart.) | |
| PartFamilyName |
Gets the part's family name.
(Inherited from PressurePart.) | |
| PartType |
Gets the pressure part's type
(Inherited from PressurePart.) | |
| Position |
Gets or sets the position of the network part.
(Inherited from PressurePart.) | |
| ProfileViewPartId |
Gets the object id of the part's counterpart in profile views.
(Inherited from PressurePart.) | |
| ReferenceAlignmentId |
Gets or sets the object id of the alignment which this part references.
(Inherited from PressurePart.) | |
| ReferenceAlignmentName |
Gets the name of the alignment which this part references.
(Inherited from PressurePart.) | |
| ReferenceSurfaceId |
Gets or sets the object id of the surface which this part references.
(Inherited from PressurePart.) | |
| ReferenceSurfaceName |
Gets the name of the surface which this part references.
(Inherited from PressurePart.) | |
| ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity.) | |
| Slope |
Gets the pipe’s slope in absolute value.
| |
| StartConnection |
Gets the connection at the start of the pressure pipe
| |
| StartDir |
Gets the start direction of the pressure pipe object.
If the property does not exist for this part, an exception will be thrown
| |
| StartElevation |
Gets the start elevation of the pressure pipe.
| |
| StartFittingId | Obsolete.
Gets the start fitting id of the Pipe. If no connected fitting, return ObjectId::Null.
| |
| StartOffset |
Gets the offset of the starting point to the reference alignment.
| |
| StartPartId |
Gets the start part id of the Pipe. If no connected part, return ObjectId::Null.
| |
| StartPoint |
Gets or sets the start point of the Pipe.
| |
| StartStation |
Gets the station of the starting point to the reference alignment.
| |
| StyleId |
Sets the PressurePipe's style Id.
(Overrides Entity..::..StyleId.) | |
| StyleName |
Sets the PressurePipe's style name.
(Overrides Entity..::..StyleName.) | |
| VerticalRadius |
Gets the horizontal radius of the pressure pipe object.
| |
| WallThickness |
Gets the pipe’s wall thickness.
|