VisibleOccurrenceFinder Object
Description
The VisibleOccurrenceFinder object is a utility object created using the AssemblyComponentDefinition.CreateVisibleOccurrenceFinder method. It is used to find occurrences in the assembly based on their visibility. It is equivalent to the “Select Internal Components”, “Select External Components”, and “Select All in Camera” commands in Inventor.
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
CompactResult |
Read-write property Boolean that defines if all components that are found within an assembly will be consolidated so that their paraent assembly is returned instead of each one of the child components. |
FoundOccurrences |
Read-only property that returns the occurrences that meet the current criteria defined by the other properties on the VisibleOccurrenceFinder object. |
PercentageVisible |
Read-write property Double that defines the percentage of the component that can be visible or hidden. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Visible |
Read-write property that defines if visible or hidden objects should be found. |
Accessed From
AssemblyComponentDefinition.CreateVisibleOccurrenceFinder,
WeldmentComponentDefinition.CreateVisibleOccurrenceFinder
Version
Introduced in version 2013