Share

ObjectCollection.Add Method

Parent Object: ObjectCollection

Description

Adds an object to the generic collection.

Syntax

ObjectCollection.Add( Object As Object )

Parameters

Name Type Description
Object Object Input Object to add to the collection.

Samples

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
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.
Finding Bend Extent (Tangent) Edges This sample demonstrates how to retrieve the bend extent edges (a.k.a. tangent edges) associated with the selected bend edge on a flat pattern.
Create a ribbon panel in an existing tab Demonstrates creating a new ribbon panel within an existing ribbon tab.
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.
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.

Version

Introduced in version 5

Was this information helpful?