Indexes   

Pattern (Object)

Represents the pattern shape.
It is the base object for rectangular and circular patterns. A pattern shape is a set of copies of the same shape. The copy is done according to linear and angular repartitions.
See also:
CircPattern, RectPattern, Repartition, LinearRepartition, AngularRepartition

Property Index

ItemToCopy
Returns or sets the shape to be copied.
RotationAngle
Returns the pattern global rotation angle.

Method Index

ActivatePosition
Allows user to activate an instance of the pattern.
DesactivatePosition
Allows user to desactivate an instance of the pattern.

Properties


o Property ItemToCopy() As
Returns or sets the shape to be copied.
Example:
The following example returns in shape the copied shape of the pattern firstPattern, and then sets it to pad1:
 Set shape = firstPattern.ItemToCopy
 firstPattern.ItemToCopy = pad1
o Property RotationAngle() As (Read Only)
Returns the pattern global rotation angle. The rotation is applied to the whole pattern, but not to the shapes themselves. The shape to be copied is used as the rotation center.
Example:
The following example returns in globAng the rotation of pattern firstPattern:
 Set globAng = firstPattern.RotationAngle

Methods


o Sub ActivatePosition( iPosU,
iPosV)
Allows user to activate an instance of the pattern.
Parameters:
iPosU
The position of the instance in the U direction
iPosV
The position of the instance in the V direction
o Sub DesactivatePosition( iPosU,
iPosV)
Allows user to desactivate an instance of the pattern.
Parameters:
iPosU
The position of the instance in the U direction
iPosV
The position of the instance in the V direction

Copyright © 2006, Dassault Systèmes. All rights reserved.