ComponentOccurrenceProxy.SetLevelOfDetailRepresentation Method

Parent Object: ComponentOccurrenceProxy

Description

Method that sets a level of detail representation for an assembly occurrence.

Syntax

ComponentOccurrenceProxy.SetLevelOfDetailRepresentation( Representation As String, [SkipDocumentSave] As Boolean )

Parameters

Name Type Description
Representation String String that specifies the Level of Detail Representation to set on the occurrence. The method returns a failure if a representation with this name is not found in the referenced assembly.
SkipDocumentSave Boolean Optional input Boolean that indicates whether to suppress the save dialogs that appear for dirty documents that are about to be closed as a result of this action. If set to True, any edits performed on the documents needing to be closed are lost. Also, any document never saved to disk and needing to be closed is lost. The default value is False indicating that the user will be prompted to save documents about to be closed. Note: If the SilentOperation property on the Application is set to True and this argument is specified to be False, the defaults in the resulting dialogs are accepted and the dialogs are suppressed. This will result in dirty documents being saved. However, if the dirty documents include any documents that have never been saved to disk, the method will return a failure in this situation.

This is an optional argument whose default value is False.

Version

Introduced in version 11