Share

ModelStates Object


Description

ModelStates Object.

Methods

Name Description
Add Method that creates a new ModelState. The newly created ModelState is returned.
AddSubstitute Method that creates a new ModelState. The newly created ModelState is returned.

Properties

Name Description
ActiveModelState Read-only property that returns the active model state for this document.
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 Gets the number of items in this collection.
ExcelWorkSheet Read-only property that returns the excel spreadsheet that represents the model states table.
Item Allows VARIANT-indexed access to items in the collection. You can use names as indexes as well.
MemberEditScope Read-write property that gets and sets whether the edits to a member should affect just the active member or all members.
ModelStateTable Read-only property that gets the ModelStateTable object that represents the model states table. If the ModelStates is from a model state member document then this property will return Nothing.
Parent Gets the parent object from whom this object can logically be reached.
Type Gets the constant that indicates the type of this object.

Accessed From

AssemblyComponentDefinition.ModelStates, ModelStateTable.Parent, PartComponentDefinition.ModelStates, SheetMetalComponentDefinition.ModelStates, WeldmentComponentDefinition.ModelStates

Version

Introduced in version 2022

Was this information helpful?