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:
- Properties
- GlobalPlane object has property UVector.
- GlobalPlane object has property VVector.
- Methods
- GlobalVectorList object has method Append().
- GlobalVectorList object has method Get(number).