Share

PlanarSketchProxy.MoveSketchObjects Method

Parent Object: PlanarSketchProxy

Description

Method that moves a collection of sketch objects by a specified vector. If the Copy argument is set to True, the newly created objects are returned.

Syntax

PlanarSketchProxy.MoveSketchObjects( SketchObjects As ObjectCollection, Vector As Vector2d, [Copy] As Boolean, [RemoveConstraints] As Boolean ) As ObjectsEnumerator

Parameters

Name Type Description
SketchObjects ObjectCollection Input ObjectCollection that contains the sketch elements to move. The collection must contain at least one object and can be any SketchEntity, a TextBox or an Image.
Vector Vector2d Input Vector2d object that defines the delta distance to move the sketch elements.
Copy Boolean Optional input Boolean that specifies whether to copy the sketch elements to the new location or to move them. If not specified, a default value of False is used indicating that the elements will be moved.

This is an optional argument whose default value is False.
RemoveConstraints Boolean Optional input Boolean that specifies whether to remove or retain some of the constraints that constrain the input sketch entities to other geometry. If not specified, a default value of False is used indicating that the constraints will be retained.

This is an optional argument whose default value is False.

Version

Introduced in version 10

Was this information helpful?