Share

BreakOperation Object


Description

A BreakOperation object represents a break applied to a drawing view. Editing or deleting this BreakOperation object will modify all affected views.

Methods

Name Description
Delete Method that deletes the break operation from the drawing view. The break is deleted from all other affected drawing views as well.
GetReferenceKey Method that generates and returns the reference key for this entity.

Properties

Name Description
AllAffectedViews Property that returns all the DrawingView objects affected by this break operation. Multiple drawing views can be affected by a break operation if children views inherit breaks or if the break is propagated up to the parent view.
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.
BreakStyle Read-write property that gets and sets the break style.
DisplayLevel Read-write property that gets and sets the appearance of the break lines.
EndPoint Read-write property that gets and sets the end point of the break in sheet space.
Gap Read-write property that gets and sets the gap (in centimeters) between the break lines.
IsSourceBreakOperation Property that returns whether this break operation is the source for inherited break operations. The property returns True if there are no related break operations. If the property returns False, use the SourceBreakOperation property to find the source break.
Layer Gets and sets the layer associated with this object.
MidPoint Read-write property that gets and sets the midpoint of the break in sheet space.
NumberOfSymbols Read-write property that gets and sets the number of break symbols to use for a structural style break.
Orientation Property that returns whether the orientation of the break is horizontal or vertical. Possible return values are kHorizontalBreakOrientation and kVerticalBreakOrientation.
Parent Property that returns the parent drawing view from which this BreakOperation was retrieved.
SourceBreakOperation Property that returns the source BreakOperation object. For instance, if a projected view inherits the break from the parent base view, this property on the BreakOperation retrieved from the projected view will return the corresponding BreakOperation from the base view. If this BreakOperation itself is the source, the property returns nothing.
StartPoint Read-write property that gets and sets the start point of the break in sheet space.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

BreakOperation.SourceBreakOperation, BreakOperations.Add, BreakOperations.Item

Samples

Name Description
Creation of a break operation in a drawing view Demonstrates the creation of a break operation.

Version

Introduced in version 2010

Was this information helpful?