Share

Parameters Object


Description

Provides access to the objects associated with the object the collection was obtained from. Using the properties supported by the collection you can access the all of the parameters as a set or by type.

Methods

Name Description
GetValueFromExpression Method that evaluates the input expression using the units specified and returns a value in database units.
IsExpressionValid Returns whether the input expression is valid or not.
SetAllToMax Method that sets the values of all parameters to be the maximum value as defined by the parameter's tolerance.
SetAllToMedian Sets the values of all parameters to be the median value as defined by the parameter's tolerance.
SetAllToMin Method that sets the values of all parameters to be the minimum value as defined by the parameter's tolerance.
SetAllToNominal Method that sets the values of all parameters to be the nominal value as defined by the parameter's tolerance.

Properties

Name Description
AngularDimensionPrecision Gets/Sets the precision for angular dimensions in this document.
AngularStandardTolerance Gets/Sets the standard tolerance for angular dimensions in this document.
Count Property that returns the number of items in this collection.
CustomParameterGroups Property that returns the CustomParameterGroups collection object.
DerivedParameterTables Property that returns the DerivedParameterTables collection object.
DimensionDisplayType Gets/Sets the dimension display type for dimensions in this document.
DisplayParameterAsExpression Gets and sets whether parameters are displayed as values or expressions in edit boxes when a dimension or a feature is edited.
ExportStandardTolerances Gets and sets whether to export dimensions to drawings using the standard tolerance values.
FinishParameters Gets the collection of Finish Feature parameters.
Item Returns the specified Parameter object from the collection. This is the default property of the Parameters collection object.
LinearDimensionPrecision Gets/Sets the precision for linear dimensions in this document.
LinearStandardTolerance Gets/Sets the standard tolerance for linear dimensions in this document.
ModelParameters Property that returns the ModelParameters collection object.
ParameterTables Property that returns the ParameterTables collection object.
ReferenceParameters Property that returns the ReferenceParameters collection object.
Type Returns an ObjectTypeEnum indicating this object's type.
UserParameters Property that returns the UserParameters collection object.
UseStandardTolerances Gets/Sets the boolean flag indicating whether to use standard tolerances for dimensions in this document.

Accessed From

AssemblyComponentDefinition.Parameters, DrawingDocument.Parameters, FlatPattern.Parameters, PartComponentDefinition.Parameters, SheetMetalComponentDefinition.Parameters, WeldmentComponentDefinition.Parameters

Samples

Name Description
Selectively link paramaters This sample demonstrates the selective linking of parameters from another Inventor file.
Display information about parameter tolerances. Dumps out information to the Immediate window about tolerance information associated with parameters. A part document must be active when this is run.
Create user parameters This sample demonstrates creating user parameters using an expression and a value. A part document must be open and it must not contain user parameters named "NewParam1" and "NewParam2".
Model Parameters This sample demonstrates the methods and properties supported by the Parameters object for model parameters.
Set the value of a parameter Sets the value of an existing parameter. A part must be open that contains a parameter named "Length".
Table Parameters This sample demonstrates how to access the Parameters object, and from it in turn the TableParameters collection that represents the collection of parameters that have been linked/embedded from an external spreadsheet.

Version

Introduced in version 4

Was this information helpful?