VectorLine

MacroModule
genre Vector
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition VectorLine.def
keywords inventor

Purpose

The module VectorLine draws a line defined by two vectors into an Inventor scene.

Windows

Default Panel

../../../Modules/Macros/Helpers/mhelp/Images/Screenshots/VectorLine._default.png

Output Fields

soSeparator0self

name: soSeparator0self, type: SoNode

Parameter Fields

Field Index

Color (color): Color Show: Bool
Color (outlineColor): Color Show Outline: Bool
End: Vector3 Start: Vector3
Overwrite Appearance: Bool Width (width): Float
Pattern (pattern): Integer Width (outlineWidth): Double
Pattern (outlinePattern): Integer  
Preset (preset): Enum  
Preset (outlinePreset): Enum  

Visible Fields

Show

name: show, type: Bool, default: TRUE

If checked, the module draws the specified line.

Start

name: start, type: Vector3, default: 0 0 0, deprecated name: vectorA

Sets the start position of the line.

End

name: end, type: Vector3, default: 0 0 0, deprecated name: vectorB

Sets the end position of the line.

Overwrite Appearance

name: overwriteAppearance, type: Bool, default: TRUE

If checked, the line style and color is overwritten by the module’s settings.

Otherwise, the appearance parameters are taken from the current scene.

Color (color)

name: color, type: Color, default: 0 0 0

Sets the line’s color.

Width (width)

name: width, type: Float, default: 1

Sets the line’s width in pixel.

Pattern (pattern)

name: pattern, type: Integer, default: 65535

Sets a stippling pattern as a 16-bit integer.

Preset (preset)

name: preset, type: Enum, default: 65535

Defines a stippling pattern.

Values:

Title Name
Solid 65535
Dashed 255
Doted 43690
Dash Dot Dash 3087

Show Outline

name: showOutline, type: Bool, default: TRUE

If checked, an outline is drawn around the actual line.

Color (outlineColor)

name: outlineColor, type: Color, default: 0 0 0

Sets the outline’s color.

Width (outlineWidth)

name: outlineWidth, type: Double, default: 3

Sets the outline’s width in pixel.

Pattern (outlinePattern)

name: outlinePattern, type: Integer, default: 65535

Sets a stippling pattern as a 16-bit integer.

Preset (outlinePreset)

name: outlinePreset, type: Enum, default: 65535

Defines a stippling pattern.

Values:

Title Name
Solid 65535
Dashed 255
Doted 43690
Dash Dot Dash 3087