Share

LinearModelDimensions Object


Description

The LinearModelDimensions collection object provides access to all of the linear model dimensions in a part or assembly and provides functionality to create new linear dimensions.

Methods

Name Description
Add Method that creates a linear dimension.
CreateDefinition Method that creates a linear dimension definition. This is a not a linear dimension but an object that encapsulates all of the information that defines a dimension. You use the methods an properties of this object to define the dimension you want to create and then provide it as input to the Add method.

Properties

Name Description
Application Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server.
Count Property that returns the number of items in this collection.
Item Property that returns an item from the collection. You can provide either the index of the item in the collection, where the first item is index 1, or you can provide the name of the object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

ModelDimensions.LinearModelDimensions

Version

Introduced in version 2018

Was this information helpful?