LocalWorkplane

The workplane.

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

Inheritance

The LocalWorkplane object is derived from the CompositeValue object.

Usage locations

The LocalWorkplane object can be accessed from the following locations:

Property List

LocalDefinedWorkplane
The local defined workplane. (Read/Write GlobalPlane)
ReferencedWorkplane
The referenced workplane. (Read/Write Workplane)
WorkplaneDefinitionOption
Options for defining a workplane. (Read/Write LocalWorkplaneDefinitionEnum)

Property Details

LocalDefinedWorkplane
The local defined workplane.
Type
GlobalPlane
Access
Read/Write
ReferencedWorkplane
The referenced workplane.
Type
Workplane
Access
Read/Write
WorkplaneDefinitionOption
Options for defining a workplane.
Type
LocalWorkplaneDefinitionEnum
Access
Read/Write