EdgeCollection Object
Derived from:
ObjectCollection Object
Description
The EdgeCollection object provides access to all of the and EdgeCollection objects in a collection and provides methods to add Edge and EdgeCollection objects to the collection.
Methods
Add |
Adds an object to the generic collection. |
Clear |
Removes all objects from the generic collection. |
Remove |
Method that removes the specified object from the generic collection. |
RemoveByObject |
Method that removes the specified object from the generic object collection. |
Properties
CollectionType |
Property that returns how the edge collection was constructed. Valid returns are kAllConcave, kAllConvex, kTangentiallyConnected, and kUndefined. This property is set when the EdgeCollection object is originally created. When the ConcaveEdges property of the SurfaceBody object is used, it is set to kAllConcave. When the ConvexEdges property of the SurfaceBody object is used, it is set to kAllConvex. When the TangentiallyConnectedEdges property of the Edge object is used, it is set to kTangentiallyConnected. When it is created using the CreateEdgeCollection method of the TransientObjects it is set to kUndefined. If an EdgeCollection has a collection type other than kUndefined and the contents are changed by adding or removing items from the collection, the CollectionType will be reset to kUndefined. |
Count |
Property that returns the number of items in this collection. |
Item |
Allows integer-indexed access to items in the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
BendDefinition.Edges,
ChamferDefinition.ChamferedEdges,
ContourFlangeDefinition.Edges,
CornerChamferDefinition.CornerEdges,
CornerDefinition.Edges,
CornerRoundEdgeSet.Edges,
CornerRoundFeatures.GetEdgesFromFeature,
CosmeticWeldDefinition.Edges,
DerivedAssemblyDefinition.GetHolePatchingOptions,
Edge.TangentiallyConnectedEdges,
EdgeProxy.TangentiallyConnectedEdges,
FaceDraftDefinition.FixedEdges,
FilletConstantRadiusEdgeSet.Edges,
FilletRadiusEdgeSet.Edges,
FilletVariableRadiusEdgeSet.Edges,
FlangeEdgeSet.Edges,
HemDefinition.Edges,
PartialChamferEdge.Edge,
SurfaceBody.ConcaveEdges,
SurfaceBody.ConvexEdges,
SurfaceBodyProxy.ConcaveEdges,
SurfaceBodyProxy.ConvexEdges,
TransientObjects.CreateEdgeCollection,
UnwrapDefinition.LinearResult,
UnwrapDefinition.RigidResult,
UnwrapDefinition.SeamEdges
Samples
Version
Introduced in version 5.3