UserParameters Object
Description
Provides access to the user parameters (
objects) associated with the object the collection was obtained from.
Methods
AddByExpression
Method that creates a new parameter given a name and expression.
AddByValue
Method that creates a new parameter given a name and equation.
Properties
Count
Property that returns the number of items in this collection.
Item
Returns the specified UserParameter object from the collection. This is the default property of the UserParameters collection object.
Type
Returns an ObjectTypeEnum indicating this object's type.
Accessed From
Parameters.UserParameters
Samples
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".
Version
Introduced in version 4