ParametricExpression

An expression is a Lua string containing variables and numbers. Eg: “(1+5)*10”.

Example

application = cf.Application.getInstance()
project = application:NewProject()
paraboloid =
project.Contents.Geometry:AddParaboloid(cf.Paraboloid.GetDefaultProperties())

    -- Add a work surface onto the paraboloid face

workSurface = project.Definitions.WorkSurfaces:Add(paraboloid.Faces["Face1"], 0)

    -- Move the worksurface using a parametric expression

workSurface.Offset = 1/5 * 40

Inheritance

The ParametricExpression object is derived from the CompositeValue object.

The following objects are derived (specialisations) from the ParametricExpression object:

Usage locations

The ParametricExpression object can be accessed from the following locations: