Share

UnitsOfMeasure.LengthUnits Property

Parent Object: UnitsOfMeasure

Description

Gets/Sets the default unit of length for this Document.

Syntax

UnitsOfMeasure.LengthUnits() As UnitsTypeEnum

Property Value

This is a read/write property whose value is a UnitsTypeEnum.

Samples

Name Description
Client graphics texture-based color mapping This test applies texture coordinates expressing distance from the origin to 'the triangle mesh of whatever Part you have open. It then creates either a discrete-band or continuous color mapper and allows you to adjust the values of the mapper to change the range of values that map to various colors.
Create or update custom iProperty This example creates a custom iProperty if it doesn't exist and updates the value if it does already exist. A part document must be open before runnin the sample.

Version

Introduced in version 4

Was this information helpful?