Share

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.
SetAllContentCenterComponentsVisibility Method that sets the visibility of all content center components.
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 Gets and sets weather the design view representations camera is saved automatically.
Camera Gets and sets the camera associated with this design view.
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 kPrimaryDesignViewType, kPrivateDesignViewType, kPublicDesignViewType and kTransientDesignViewType.
IsSectionViewSuppressed Gets and sets whether section view in this design view is suppressed or not. Set this to True will suppress the section view in this design view. The GetSectionViewInfo can be used to determine whether there is a section view or not.
Locked Gets and sets whether this design view representation is locked. If a representation is locked, changes made to it will not be saved to the document. Setting this property will fail if the DesignViewType is kMasterDesignViewType or kPrivateDesignViewType.
ModelAnnotationAutoScale Gets and sets the design view representations model annotation scale mode.
ModelAnnotationScale Gets and sets the design view representations model annotation scale.
Name Gets and sets the name of the DesignViewRepresentation. The name must be unique with respect to all other DesignViewRepresentation objects in the document, or an error will occur. Setting this property returns an error if the DesignViewType is kMasterDesignVi.
Parent Property that returns the parent RepresentationsManager object.
Publish Gets and sets whether this design view representation is published.
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

Was this information helpful?