ComponentOccurrence.Transformation Property

Parent Object: ComponentOccurrence

Description

Use F1 key to display help topic.

Syntax

ComponentOccurrence.Transformation() As Matrix

Property Value

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

Samples

Name Description
SurfaceBody Copy This sample demonstrates copying a surface body from one part to another. This is equivalent to the Promote command, but the API is much more flexible. In order for the sample to be self-contained, it creates two parts on the fly that will be used to demonstrate copying a body from one part to another. When copying a body into a part, you provide the surface body and a matrix to define its position in the new part. This sample creates a matrix based on the position of these parts within an assembly.
Assembly Move Occurrence This sample demonstrates moving a component occurrence. This sample performs a translate, but a rotate can also be performed since the transform is defined using a matrix.

Version

Introduced in version 4