Share

CropOperation Object


Description

CropOperation object represents a crop applied to a drawing view.

Methods

Name Description
Delete Method that deletes the CropOperation.
GetReferenceKey Generate the sequence of bytes, called this object's reference key, which can be held onto beyond document edits and which will allow the caller to be bound back to the live object.

Properties

Name Description
Application Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server.
AttributeSets Gets the Attribute Sets collection on this object.
CropBoundarySketch Read-only property that returns the drawing sketch used to specify the boundary for crop operation.
DisplayCropCutLine Read-write property that gets and sets whether to display the crop cut line or not.
Parent Gets the parent object from whom this object can logically be reached.
Style Read-write property that gets and sets the view annotation style for this CropOperation.
Type Gets the constant that indicates the type of this object.

Accessed From

CropOperations.Add, CropOperations.AddBySketch, CropOperations.Item

Samples

Name Description
CropOperation creation sample This sample demonstrates how to create a crop operation for a drawing view bases on a sketch under the drawing view.

Version

Introduced in version 2025.1

Was this information helpful?