Function Name | dcl-Project-Export |
---|---|
Syntax |
(dcl-Project-Export <PROJECT>
{Password [as String]})
|
Return Type | String |
This method exports a loaded project into base 64 encoded binary project data. If the project has a password, the optional Password argument must be supplied, and it must match the project's password or the function will fail.
The encoded data returned by this method is in a form that can be easily embedded inside AutoLISP code as literal string data for inline loading via Import. Embedding an OpenDCL project inside compiled AutoLISP code is a useful way to prevent the project file from being accessed. Embedding a project inside the code that uses it is also a good way to make code more portable by removing a dependency on an external file.