Share

TransientObjects.CreateObjectCollection Method

Parent Object: TransientObjects

Description

Constructs a new ObjectCollection object. If an ObjectsEnumerator is passed in, the collection starts off containing the enumerated objects.

Syntax

TransientObjects.CreateObjectCollection( [ObjectsEnumerator] As Variant ) As ObjectCollection

Parameters

Name Type Description
ObjectsEnumerator Variant Input Variant that contains the enumerated objects to place in the collection.

This is an optional argument whose default value is null.

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
Chain dimensions sets This sample demonstrates the creation of a chain dimension set in a drawing.
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.
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.
OnFaceCurve creation This sample demonstrates how to create a OnFaceCurve in 3D sketch.
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.
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.
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.
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?