Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.
Transform

Description

Used to replicate and/or transform the contents of an annotation. Typically used to develop a complete image of the results of a structure modeled with symmetry.

Annotation Types

Mesh, Field, Particle

Parameters

Label - A unique name that identifies the filter. (IFilter/Label)

Type - The type of transformation to apply. (ITransformFilter/Type)

Number of Copies - The number of copies of the input data to make. (ITransformFilter/NumberOfCopies)

Rotation Axis Direction - Direction of the axis of rotation. Defined in the world coordinate system. This is a unitless vector and its magnitude is irrelevant. Only visible if type is Copy and Rotate. (ITransformFilter/RotationAxisDirection)

Rotation Axis Point - [LENGTH] – A point on the axis of rotation. Defined in the world coordinate system. Only visible if type is Copy and Rotate. (ITransformFilter/RotationAxisPoint)

Rotation Angle - [PHASE] – Extent of the rotation for each copy. Only visible if type is Copy and Rotate. (ITransformFilter/RotationAngle)

Reflection Plane Point - [LENGTH] – Point on plane about which to reflect. Defined in the world coordinate system. Only visible if type is Copy and Reflect. (ITransformFilter/ReflectionPlanePoint)

Reflection Plane Normal - Vector normal to plane about which to reflect. Defined in the world coordinate system. This is a unitless vector and its magnitude is irrelevant. Only visible if type is Copy and Reflect. (ITransformFilter/ReflectionPlaneNormal)

Translation Direction – Direction in which to move the copies. Defined in the world coordinate system. This is a unitless vector and its magnitude is irrelevant. Only visible if type is Copy and Translate. (ITransformFilter/TranslationDirection)

Translation Magnitude - [LENGTH] – Distance to move each copy. Only visible if type is Copy and Translate. (ITransformFilter/TranslationMagnitude)

Apply to Original - If false, the original is not transformed. (ITransformFilter/ApplyToOriginal)

Example(s)

User Interface Button

Requirements

Example Script

Config_1 = MeshAnnotation_1.Get_IMeshAnnotation().GetConfig()
TransformFilter_1 = Config_1.Get_IAnnotationConfig().NewFilter("TransformFilter", "Transform_1")

Scripting Interfaces

“ITransformFilter”
“IFilter”

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice