GlobalVector

Global vector defines a vector relative to the global coordinate system.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

    -- Create a flare

baseCentre = cf.Point(-0.25, -0.25, 0)
flare = project.Contents.Geometry:AddFlare(baseCentre, 0.5, 0.5, 1.0, 0.3, 0.3)

    -- Modify the local workplane of the flare

flare.LocalWorkplane.WorkplaneDefinitionOption = cf.Enums.LocalWorkplaneDefinitionEnum.UseCustomDefinedWorkplane
lwp = flare.LocalWorkplane.LocalDefinedWorkplane
lwp.Origin.X = 1
lwp.Origin.Z = .3
lwp.UVector.Y = 1
lwp.VVector.Z = -2
assert("TODO")

Inheritance

The GlobalVector object is derived from the GlobalCoordinates object.

Usage locations

The GlobalVector object can be accessed from the following locations:

Property List

X
The X coordinate. (Read/Write Dimension)
Y
The Y coordinate. (Read/Write Dimension)
Z
The Z coordinate. (Read/Write Dimension)

Property Details

X
The X coordinate.
Type
Dimension
Access
Read/Write
Y
The Y coordinate.
Type
Dimension
Access
Read/Write
Z
The Z coordinate.
Type
Dimension
Access
Read/Write