ObjectCollection Object
Derived from: ObjectsEnumerator ObjectDescription
Generic collection of weakly-typed objects (IDispatch).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 |
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
ArcLengthDimConstraint.AnchorPoints, ArcLengthDimConstraintProxy.AnchorPoints, AssemblyComponentDefinition.GetUnusedGeometries, AssemblyDocument.GetMissingAddInBehavior, AttributeManager.FindObjects, AttributeManager.FindObjectsByPattern, BIMCableTrayConnectorDefinition.Geometry, BIMComponentDescription.ModelProperties, BIMConduitConnectorDefinition.Geometry, BIMConnectorDefinition.Geometry, BIMDuctConnectorDefinition.Geometry, BIMElectricalConnectorDefinition.Geometry, BIMPipeConnectorDefinition.Geometry, BossSet.Centers, BoundaryPatchDefinition.GuideRails, BrowserPanesEvents.OnBrowserNodeGetDisplayObjects, CircularOccurrencePattern.ParentComponents, CircularOccurrencePatternProxy.ParentComponents, CircularPatternFeatureDefinition.AffectedBodies, CircularPatternFeatureDefinition.AffectedOccurrences, CircularPatternFeatureDefinition.ParentFeatures, ClientFeature.HiddenParameters, ClientFeatureDefinition.FeatureInputs, ClientFeatureProxy.HiddenParameters, ColorScheme.DisplaySeparateColors, ComponentDefinition.GetUnusedGeometries, ContourFlangeDefinition.AffectedBodies, CoreCavityDefinition.HolePatches, CoreCavityDefinition.Inserts, CoreCavityDefinition.RunoffSurfaces, DerivedParameter.Dependents, DerivedParameter.DrivenBy, DerivedParameterTable.LinkedParameters, DiameterDimConstraint.AnchorPoints, DiameterDimConstraintProxy.AnchorPoints, DimensionConstraint.AnchorPoints, DimensionConstraint3D.AnchorPoints, Document.GetMissingAddInBehavior, DraftAnalysis.Faces, DrawingDocument.GetMissingAddInBehavior, DrawingViewHatchArea.BoundaryGeometries, DrawingViewHatchRegion.BoundaryGeometries, EllipseRadiusDimConstraint.AnchorPoints, EllipseRadiusDimConstraintProxy.AnchorPoints, ExtrudeDefinition.AffectedBodies, ExtrudeDefinition.AffectedOccurrences, Face.ThreadInfos, FaceFeatureDefinition.AffectedBodies, FaceProxy.ThreadInfos, FeatureBasedOccurrencePattern.ParentComponents, FeatureBasedOccurrencePatternProxy.ParentComponents, FeatureDimension.AnchorPoints, FeatureDimensionProxy.AnchorPoints, FinishDefinition.ExcludedEntities, FinishDefinition.IncludedEntities, FinishParameter.Dependents, FinishParameter.DrivenBy, FlatPattern.GetUnusedGeometries, HoleFeature.HoleCenterPoints, HoleFeatureProxy.HoleCenterPoints, KnitFeature.Surfaces, KnitFeatureProxy.Surfaces, LineLengthDimConstraint3D.AnchorPoints, LineLengthDimConstraint3DProxy.AnchorPoints, LoftDefinition.Sections, LoftedFlangeDefinition.AffectedBodies, MarkGeometrySet.Geometries, MirrorFeatureDefinition.AffectedBodies, MirrorFeatureDefinition.ParentFeatures, ModelDatumDefinition.DatumTargetPlanes, ModelDatumDefinition.DatumTargetPoints, ModelDatumDefinition.DatumTargetTextPositions, ModelLeaderNoteDefinition.AssociatedGeometries, ModelParameter.Dependents, ModelParameter.DrivenBy, ModelWeldingSymbolDefinitions.AssociatedGeometries, MoldDefinition.HolePatches, MoldDefinition.InsertBodies, MoldDefinition.RunoffSurfaces, MoveDefinition.SurfaceBodies, NonParametricBaseFeatureDefinition.BRepEntities, OccurrencePattern.ParentComponents, OffsetDimConstraint.AnchorPoints, OffsetDimConstraintProxy.AnchorPoints, OffsetSplineDimConstraint.AnchorPoints, OffsetSplineDimConstraintProxy.AnchorPoints, Parameter.Dependents, Parameter.DrivenBy, PartComponentDefinition.GetUnusedGeometries, PartDocument.GetMissingAddInBehavior, PathAndSectionTwistsSweepDef.GetSectionTwists, PointAndPlaneDistanceDimConstraint3D.AnchorPoints, PointAndPlaneDistanceDimConstraint3DProxy.AnchorPoints, PresentationDocument.GetMissingAddInBehavior, ProjectToSurfaceCurve.Curves, ProjectToSurfaceCurve.Faces, ProjectToSurfaceCurveProxy.Curves, ProjectToSurfaceCurveProxy.Faces, PublicationTweakDefinition.PublicationComponents, PublicationTweakDefinition.TrailOriginsForAdd, PublicationTweakDefinition.TrailSegmentsForDelete, PublicationTweaks.TrailAnchors, PublicationTweaks.TrailSegments, PunchToolFeature.PunchCenterPoints, PunchToolFeatureProxy.PunchCenterPoints, RadiusDimConstraint.AnchorPoints, RadiusDimConstraint3D.AnchorPoints, RadiusDimConstraint3DProxy.AnchorPoints, RadiusDimConstraintProxy.AnchorPoints, RectangularOccurrencePattern.ParentComponents, RectangularOccurrencePatternProxy.ParentComponents, RectangularPatternFeatureDefinition.AffectedBodies, RectangularPatternFeatureDefinition.AffectedOccurrences, RectangularPatternFeatureDefinition.ParentFeatures, ReferenceParameter.Dependents, ReferenceParameter.DrivenBy, ReplaceFaceDefinition.NewFaces, RevitExportDefinition.AdditionalExcludedOccurrences, RevitExportDefinition.AdditionalIncludedOccurrences, RevitExportDefinition.PreservedFeatures, RibDefinition.ProfileCurves, SculptFeature.Surfaces, SculptFeatureProxy.Surfaces, SelectEvents.OnPreSelect, Sheet.GetRetrievableAnnotations, SheetMetalComponentDefinition.GetUnusedGeometries, ShrinkwrapDefinition.AdditionalExcludedOccurrences, ShrinkwrapDefinition.AdditionalIncludedOccurrences, ShrinkwrapDefinition.PreservedFeatures, SketchCircularPatternDefinition.Geometries, SketchDrivenPatternDefinition.AffectedBodies, SketchDrivenPatternDefinition.AffectedOccurrences, SketchDrivenPatternDefinition.ParentFeatures, SketchHolePlacementDefinition.HoleCenterPoints, SketchRectangularPatternDefinition.Geometries, SolidSweepDefinition.AffectedBodies, SplineFitPointsConstraint3D.Points, SplineFitPointsConstraint3DProxy.Points, SplineLengthDimConstraint3D.AnchorPoints, SplineLengthDimConstraint3DProxy.AnchorPoints, SurfaceBody.GetFaceColors, SurfaceBodyProxy.GetFaceColors, SurfaceEvaluator.GetIsoCurve, SweepDefinition.AffectedBodies, SweepDefinition.AffectedOccurrences, SweepDefinition.GetSectionTwists, TableParameter.Dependents, TableParameter.DrivenBy, TangentDistanceDimConstraint.AnchorPoints, TangentDistanceDimConstraintProxy.AnchorPoints, ThreePointAngleDimConstraint.AnchorPoints, ThreePointAngleDimConstraintProxy.AnchorPoints, TransientBRep.GetIdenticalBodies, TransientObjects.CreateObjectCollection, TwoLineAngleDimConstraint.AnchorPoints, TwoLineAngleDimConstraint3D.AnchorPoints, TwoLineAngleDimConstraint3DProxy.AnchorPoints, TwoLineAngleDimConstraintProxy.AnchorPoints, TwoPointDistanceDimConstraint.AnchorPoints, TwoPointDistanceDimConstraint3D.AnchorPoints, TwoPointDistanceDimConstraint3DProxy.AnchorPoints, TwoPointDistanceDimConstraintProxy.AnchorPoints, UserInputEvents.OnPreSelect, UserInputEvents.OnSelect, UserParameter.Dependents, UserParameter.DrivenBy, VirtualComponentDefinition.GetUnusedGeometries, WeldmentComponentDefinition.GetUnusedGeometries, WeldsComponentDefinition.GetUnusedGeometries, WorkAxis.Dependents, WorkAxis.DrivenBy, WorkAxisProxy.Dependents, WorkAxisProxy.DrivenBy, WorkPlane.Dependents, WorkPlane.DrivenBy, WorkPlaneProxy.Dependents, WorkPlaneProxy.DrivenBy, WorkPoint.Dependents, WorkPoint.DrivenBy, WorkPointProxy.Dependents, WorkPointProxy.DrivenByDerived Classes
EdgeCollection, FaceCollectionSamples
Name | Description |
Interference Analysis | This sample demonstrates the functions used to calculate interference analysis in an assembly. |
Creation a balloon | This sample demonstrates the creation of a balloon. |
Baseline dimension sets | This sample demonstrates the creation of a baseline set dimension in a drawing. |
Delete Face, Boundary Patch and Stitch features | Demonstrates creating Face, Boundary Patch and Stitch features. |
Add assembly occurrences to a new folder | Demonstrates assembly occurrences to a new folder |
Copy a sketch | This sample demonstrates copying the contents of a sketch into another sketch via the API. |
Selectively link paramaters | This sample demonstrates the selective linking of parameters from another Inventor file. |
Edit profile of an extrude feature | This sample demonstrates editing the profile of an extrude feature. |
Add a punch tool feature | This program demonstrates the creation of a punch tool feature. It uses one of the punch features that's delivered with Inventor. It assumes you already have an existing sheet metal part and have selected a face to place the punch feature on. The selected face should be large so there is room for the punch features. |
Move sketch entities | This sample demonstrates the translation of all the objects on the active sketch by a certain distance. |
Offset a 2D sketch | This sample demonstrates the creation of offsets in 2d sketches. Two ways of creating the offset are shown - one uses a distance and the other uses the input point. |
Create sketched symbol and leader | This sample illustrates creating sketched symbol with a leader. |
Spline - create NURBS | This sample demonstrates the creation of a sketch spline using a geometry definition (a NURB). The API also supports creation of 3D sketch splines in a similar way. |
Sketch Spline | This sample demonstrates creating and manipulating a sketch spline. |
Transient surface body creation | The following sample demonstrates the creation of a transient surface body consisting of a single rectangular face. The body is created in transient space and then copied over to a part document as a base feature. |
Add surface texture symbol to dimension | This sample demonstrates the creation of a surface texture symbol attached to the extension line of a drawing dimension. |