DetailDrawingView Object

Derived from: DrawingView Object

Description

For information on this object, please refer to DrawingView, which provides identical or very similar functionality.

Methods

Name Description
Align Method that aligns this view with the input drawing view. The method returns a failure if the view is already aligned. Use the Aligned property to check for this condition and to break existing alignment.
AlignAuxiliary Method that re-aligns an auxiliary view. The method fails if the view is not an auxiliary view.
CopyTo Method that copies this drawing view into the specified sheet. The new object is returned.
CreateOriginIndicator Method that creates the origin indicator for ordinate dimensions and hole tables. The specified input GeometryIntent object must be associated with this drawing view, otherwise this method will fail.
Delete Method that deletes the DrawingView.
DrawingViewToModelSpace Method that takes a 2d coordinate in drawing view space, and returns a Line in model space. Since this method transforms from 2D space to 3D space, there is insufficient information to obtain a 3D model point. Hence, this method returns a Line in the view direction on which the point lies. You may then use the FindUsingRay method to find the point(s) of interest.
DrawingViewToSheetSpace Method that takes a 2d coordinate in drawing view space, and returns a Point2d containing the coordinates of the point in sheet space.
GetAutomatedCenterlineSettings Method that returns the settings that define how automatic center lines and center marks are to be calculated for this view.
GetHiddenLinesStatus Method that gets the hidden lines status of a component in the drawing view.
GetIncludeStatus Method that gets the include status of the input object in the drawing view.
GetReferenceKey Method that generates and returns the reference key for this entity.
GetVisibility Method that gets the visibility of the input object in the drawing view.
GetWeldmentState Method that gets the weldment option for the drawing view. The method returns a failure if the referenced model does not contain weldments.
InsertInModelSpace Inserts the view geometry into model space only if the drawing lives in an Inventor DWG file.
ModelToDrawingViewSpace Method that takes a 3d coordinate in model space, and returns a Point2d object containing the coordinate point in drawing view space.
ModelToSheetSpace Method that takes a 3d coordinate in model space, and returns a Point2d object containing the coordinate point in sheet space.
MoveTo Method that moves this drawing view into the specified sheet. The moved object is returned.
RotateByAngle Method that rotates the drawing view by the specified angle.
SetActiveModelState Method that sets the active model state for a drawing view. In this method users can also decide to update the PartsList objects which use the same model state as the drawing view. This method fails for drawing views where the model is unresolved.
SetAutomatedCenterlineSettings Method that sets the automatic centerline and center mark settings for this view and creates the centerlines and center marks defined by the settings. The centerlines and center marks that were created are returned.
SetDesignViewRepresentation Method that sets a design view representation for a drawing view of an assembly. This method fails for drawing views of parts and presentations and in the case where the model (assembly) is unresolved.
SetHiddenLinesStatus Method that sets the hidden lines status of a component in the drawing view.
SetIncludeStatus Method that sets the include status of the input object in the drawing view. This method automatically makes the object visible as well. After an object has been included, its visibility can be controlled using the GetVisibility and SetVisibility methods.
SetVisibility Method that sets the visibility of the input object in the drawing view.
SetWeldmentState Method that sets the weldment option for the drawing view. The method returns a failure if the referenced model does not contain weldments.
SheetToDrawingViewSpace Method that takes a 2d coordinate in sheet space, and returns a Point2d object containing the coordinate point in drawing view space.
SheetToModelSpace Method that takes a 2d coordinate in sheet space, and returns a Line in model space. Since this method transforms from 2D space to 3D space, there is insufficient information to obtain a 3D model point. Hence, this method returns a Line in the view direction on which the point lies. You may then use the FindUsingRay method to find the point(s) of interest.
ShowHiddenAnnotations Method that displays all the annotations hidden by the user.
ShowHiddenCurves Method that displays all the curves explicitly hidden by the user.

Properties

Name Description
ActiveMemberName
ActiveModelState
ActivePositionalRepresentation
ActivePresentationView Property that returns the name of the active Presentation (Exploded) View for a drawing view of a presentation.
Aligned
AttachPoint Property that gets and sets geometry to attach the view to. Use Sheet.CreateGeometryIntent method to create a new GeometryIntent object. This property can be set to Nothing to un-attach the view from a geometry.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
AuxiliaryOrientationEdge Property that returns drawing curve that the auxiliary view is aligned to. This property returns Nothing if this is not an auxiliary view or if the orientation edge (drawing curve) has been removed from the parent view during a subsequent update.
BitmapAvailable Property that returns if this view's graphics are also available as a bitmap as well. If a bitmap exists it can be retrieved using the DataIO object. This is only applicable within Apprentice.
BoundaryLayer Property that gets and sets the layer associated with the boundary geometry.
BreakOperations Property that returns the BreakOperations object containing information about all the break operations applied to this view as well as methods to add breaks. Both local as well as inherited break operations are returned in the collection.
BreakOutOperations Property that returns the BreakOutOperations object containing information about all the break out operations applied to this view as well as methods to add break outs. Only local break out operations are returned.
Camera Property that returns a Camera object that defines the orientation of the model within the view.
Center
CircularFence Property that returns whether the detail view uses a circular fence or a rectangular fence. Circular fence if True; rectangular fence if False.
ClientGraphicsCollection Property that returns the ClientGraphicsCollection object.
DataIO Property that returns the associated DataIO object. This can be used in Apprentice to obtain an associated bitmap, if it exists.
DesignViewAssociative
DesignViewRepresentation
DisplayBendExtents
DisplayConnectionLine Property that gets and sets whether to display the line between the detail view fence and the full boundary. This property can be set to True only if the IsBreakLineSmooth and DisplayFullBoundary properties are set to True.
DisplayDefinitionInBase
DisplayForeshortenedTangentEdges
DisplayFullBoundary Property that gets and sets whether to display full boundary of the detail view. This property can be set to True only if the IsBreakLineSmooth property is set to True.
DisplayHatching
DisplayInterferenceEdges
DisplayTangentEdges
DisplayThreadFeatures
DisplayTrails
DrawingCurves Property that returns all the drawing curves within the drawing view optionally filtered to the input model object. This property returns Nothing for draft views.iew object represents a drawing view on a sheet.
DrawingViewEvents Property that returns the object, which provides event notifcation. For example, view updates.
DrawingViewToModelTransform Property that returns the transformation from drawing view coordinate space to the model space.
DrawingViewToSheetTransform Property that returns the transformation from drawing view coordinate space to the sheet space.
FenceCenter Property that gets and sets the center of the fence. Applies to both circular and rectangular fence types. Setting this property will fail if the view is attached to geometry (i.e. the AttachPoint property returns an object).
FenceCornerOne Property that gets and sets the first corner of the rectangular fence. This property returns Nothing and cannot be set if the fence type is circular.
FenceCornerTwo Property that gets and sets the second corner of the rectangular fence. This property returns Nothing and cannot be set if the fence type is circular.
FenceRadius Property that gets and sets the radius of the circular fence. This property fails if the fence type is rectangular.
GeneralDimensionType
GraphicsDataSetsCollection Property that returns the object for the drawing view.
HasOriginIndicator Property that specifies whether the origin indicator for ordinate dimensions and hole tables has been created.
HatchRegions
Height Property that specifies the height of the drawing view. The view height cannot be set but is defined by the contents of the view
Include3DAnnotations
IncludeMeshBodies
IncludeSurfaceBodies
InheritBreak
InheritBreakOut
InheritSection
InheritSlice
IsBreakLineSmooth Property that gets and sets whether the cut shape of the fence is smooth or jogged.
IsFlatPatternView Gets whether the drawing view is of a sheet metal flat pattern.
IsRasterView
IsUpdateComplete Indicates if the view has finished updating.
Label Property that returns the DrawingViewLabel object.
Left Property that returns the position of the left edge of the drawing view.
ModelToDrawingViewTransform Property that returns the transformation from model space to the drawing view coordinate space.
ModelToSheetTransform Property that returns the transformation from model space to the sheet coordinate space.
Name
OriginIndicator Property that gets the origin indicator for ordinate dimensions and hole tables.
Parent Property returning the parent Sheet object.
ParentView Property that returns the parent . This property returns Nothing in the case where no parent view exists.
Position
PresentationViewAssociative
ReferencedDocumentDescriptor Property that returns the model document referenced by this view.
Rotation
Scale
ScaleFromBase
ScaleString
SheetToDrawingViewTransform Property that returns the transformation from sheet space to the drawing view coordinate space.
SheetToModelTransform Property that returns the transformation from sheet coordinate space to the model space.
ShowLabel
Sketches Property that returns the DrawingSketches collection object for the sheet. This object provides access to all of the sketches that have been created on the sheet and provides functionality to create new sketches.
StandardPartsSectionBehavior
Suppressed
Top Property that specifies the position of the top edge of the drawing view.
Type Returns an ObjectTypeEnum indicating this object's type.
UpToDate Property that returns whether the drawing view is up to date with respect to the model.
ViewJustification
ViewOrientationFromBase
ViewStyle
ViewType Property returning an DrawingViewTypeEnum constant indicating the type of view.
Width Property that specifies the width of the drawing view. The view width cannot be set but is defined by the contents of the view.

Accessed From

DrawingViews.AddDetailView

Version

Introduced in version 11