The cf namespace

Many objects have static functions, but only a limited number of functions are available directly in the cf namespace. Numerous namespaces exist under the cf namespace that also contain static functions.

Namespace List

Archive
Create and extract archived files and folders.
Tools
Scripting tools.

Function List

GetApplication ()
Returns an instance of the CADFEKO application object. (Returns a Application object.)

Function Details

GetApplication ()
Returns an instance of the CADFEKO application object.
Return
Application
An instance of the CADFEKO application object.
Example
    -- The "GetApplication" function lives in the "cf" namespace and
    -- returns the current CADFEKO application object.
    
app = cf.GetApplication()

    -- Start a new project and save it as "ExampleProject"
    
project = app:NewProject()
app:SaveAs([[temp_ExampleProject]])