DesignViewRepresentation Object


Description

The DesignViewRepresentation object represents a design view representation in the assembly.

Methods

Name Description
Activate Method that activates the design view representation.
Copy Method that creates a copy of the DesignViewRepresentation. The new created DesignViewRepresentation is returned.
CopyComponentVisibilityToSuppression Create a new ModelState based on the visibility of components as defined by the design view. The new created ModelState is returned.
Delete Method that deletes the DesignViewRepresentation. The method returns an error if the DesignViewType is kMasterDesignViewType.
GetReferenceKey Method that generates and returns the reference key for this entity.
GetSectionViewInfo Gets the current section view info in the design view.
HideAll Method that makes all components invisible in this representation.
RemoveAppearanceOverrides Resets all components to their default appearance.
RestoreCamera Method that changes the camera of the active view to the camera stored with the design view.
SaveCurrentCamera Method that saves the camera of the active view to the design view.
SetSectionView Sets a section view in the design view.
SetVisibilityOfOccurrences Method that sets the visibility of a collection of occurrences. If occurrences within a subassembly are specified and the owning subassembly occurrence is associative to a design view representation, the associativity will be turned off.
ShowAll Method that makes all components visible in this representation.

Properties

Name Description
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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
AutoSaveCamera
Camera
DesignViewInfo Property that returns the design view representation information as a String containing XML formatted data. This is applicable for assembly documents only. For more information on the XML format see More XML Design View Info...
DesignViewType Property that returns the design view representation type. This can return kMasterDesignViewType, kPrivateDesignViewType, kPublicDesignViewType and kTransientDesignViewType.
Locked
ModelAnnotationAutoScale
ModelAnnotationScale
Name
Parent Property that returns the parent RepresentationsManager object.
Publish
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DesignViewRepresentation.Copy, DesignViewRepresentations.Add, DesignViewRepresentations.Item, ModelState.CopyComponentSuppressionToVisibility, RepresentationsManager.ActiveDesignViewRepresentation

Version

Introduced in version 11