GlobalPlane
The global coordinate system plane.
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 GlobalPlane object is derived from the CompositeValue object.
Usage locations
The GlobalPlane object can be accessed from the following locations:
- Properties
- LocalWorkplane object has property LocalDefinedWorkplane.
- Methods
- GlobalPlaneList object has method Append().
- GlobalPlaneList object has method Get(number).
Property List
- Origin
- The plane origin. (Read/Write GlobalOrigin)
- UVector
- The plane U vector orientation. (Read/Write GlobalVector)
- VVector
- The plane V vector orientation. (Read/Write GlobalVector)
Property Details
- Origin
- The plane origin.
- Type
- GlobalOrigin
- Access
- Read/Write
- UVector
- The plane U vector orientation.
- Type
- GlobalVector
- Access
- Read/Write
- VVector
- The plane V vector orientation.
- Type
- GlobalVector
- Access
- Read/Write