ObjectsEnumerator Object


Description

Generic enumerator for a group of objects. This enumerator will also support the IEnumxxx-style interface (IEnumUnknown, unless otherwise specified).

Properties

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

AssemblyComponentDefinition.AppearanceOverridesObjects, AssemblyComponentDefinition.FindUsingPoint, AssemblyComponentDefinition.FindUsingRay, AssemblyComponentDefinition.FindUsingVector, AssemblyDocument.ReferencedOLEFileDescriptors2, BreakOperation.AllAffectedViews, BreakOutOperation.AllAffectedViews, Centerline.FitPoints, Centermark.Centerlines, ComponentDefinition.FindUsingPoint, ComponentDefinition.FindUsingVector, ComponentOccurrence.GetDegreesOfFreedom, ComponentOccurrenceProxy.GetDegreesOfFreedom, DerivedAliasComponent.ResultFeatures, DerivedAliasComponentProxy.ResultFeatures, DerivedPartComponent.WorkFeatures, DerivedPartComponentProxy.WorkFeatures, DetailDrawingView.SetAutomatedCenterlineSettings, Document.ReferencedOLEFileDescriptors2, DrawingDocument.ReferencedOLEFileDescriptors2, DrawingSketch.MoveSketchObjects, DrawingSketch.RotateSketchObjects, DrawingSketch.SetAutomatedCenterlineSettings, DrawingView.SetAutomatedCenterlineSettings, FeaturePatternElement.ResultFeatures, FeaturePatternElementProxy.ResultFeatures, FlatPattern.FindUsingPoint, FlatPattern.FindUsingRay, FlatPattern.FindUsingVector, HoleTapInfo.ThreadBasePoints, Line.IntersectWithCurve, Line.IntersectWithSurface, Line2d.IntersectWithCurve, LineSegment.IntersectWithCurve, LineSegment.IntersectWithSurface, LineSegment2d.IntersectWithCurve, MirrorFeature.ResultFeatures, MirrorFeatureProxy.ResultFeatures, MoldSplitResult.GetNote, OccurrencePatternElement.Components, OccurrencePatternElementProxy.Components, PartComponentDefinition.AppearanceOverridesObjects, PartComponentDefinition.FindUsingPoint, PartComponentDefinition.FindUsingRay, PartComponentDefinition.FindUsingVector, PartDocument.ReferencedOLEFileDescriptors2, PartsListRow.ReferencedRows, PlanarSketch.Dependents, PlanarSketch.MoveSketchObjects, PlanarSketch.RotateSketchObjects, PlanarSketchProxy.Dependents, PlanarSketchProxy.MoveSketchObjects, PlanarSketchProxy.RotateSketchObjects, Plane.IntersectWithCurve, Plane.IntersectWithSurface, PointInference.Entity, PresentationDocument.ReferencedOLEFileDescriptors2, SectionDrawingView.SetAutomatedCenterlineSettings, SelectEvents.SelectedEntities, Sheet.FindUsingPoint, SheetFormat.ReferencedSymbolDefinitions, SheetMetalComponentDefinition.AppearanceOverridesObjects, SheetMetalComponentDefinition.FindUsingPoint, SheetMetalComponentDefinition.FindUsingRay, SheetMetalComponentDefinition.FindUsingVector, Sketch.MoveSketchObjects, Sketch.RotateSketchObjects, Sketch3D.Dependents, Sketch3DProxy.Dependents, SketchBlockDefinition.Dependents, SketchBlockDefinition.MoveSketchObjects, SketchBlockDefinition.RotateSketchObjects, SketchBlockDefinitionProxy.Dependents, SketchBlockDefinitionProxy.MoveSketchObjects, SketchBlockDefinitionProxy.RotateSketchObjects, StandardThreadInfo.ThreadBasePoints, SurfaceBody.FindUsingRay, SurfaceBodyProxy.FindUsingRay, TaperedThreadInfo.ThreadBasePoints, ThreadInfo.ThreadBasePoints, TransientGeometry.CurveCurveIntersection, TransientGeometry.CurveSurfaceIntersection, TransientGeometry.SurfaceSurfaceIntersection, VirtualComponentDefinition.FindUsingPoint, VirtualComponentDefinition.FindUsingVector, WeldmentComponentDefinition.AppearanceOverridesObjects, WeldmentComponentDefinition.FindUsingPoint, WeldmentComponentDefinition.FindUsingRay, WeldmentComponentDefinition.FindUsingVector, WeldsComponentDefinition.FindUsingPoint, WeldsComponentDefinition.FindUsingVector

Derived Classes

ObjectCollection

Samples

Name Description
Basic Selection Using Interaction Events This sample demonstrates using the selection events to select a face. Selection is dependent on events and VB only supports events within a class module.
Sketch Delete This sample demonstrates deleting a sketch.
True length of sweep feature This sample demonstrates the calculation of the true length of a sweep feature. If the centroid of the sweep profile does not lie on the sweep path, the true length of the sweep feature is not the same as the sum of lengths of the path entities.

Version

Introduced in version 5