Share

TransientGeometry.CreateVector2d Method

Parent Object: TransientGeometry

Description

Method that creates a new Vector2d object.

Syntax

TransientGeometry.CreateVector2d( [XCoord] As Double, [YCoord] As Double ) As Vector2d

Parameters

Name Type Description
XCoord Double Input Double that specifies the Vector's X-coordinate.

This is an optional argument whose default value is 0.0.
YCoord Double Input Double that specifies the Vector's Y-coordinate.

This is an optional argument whose default value is 0.0.

Samples

Name Description
Copy a sketch This sample demonstrates copying the contents of a sketch into another sketch via the API.
Move sketch entities This sample demonstrates the translation of all the objects on the active sketch by a certain distance.

Version

Introduced in version 4

Was this information helpful?