Share

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

Name Description
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

Name Description
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

Name Description
Delete Face, Boundary Patch and Stitch features Demonstrates creating Face, Boundary Patch and Stitch features.
Create sheet metal rip feature This sample demonstrates the creation of a rip sheet metal feature.
Create sheet metal face and flange features This sample demonstrates the creation of sheet metal face and flange features.

Version

Introduced in version 5.3

Was this information helpful?