Inherits: Folders < ScriptObject

This object gives you access to the application folder configuration.

It provides access to both general settings and format-specific folder lists. Most of these settings would be manually configured using the “Folders” dialog.

Multiple instances of this object are not necessary, as they have no unique information. Instead, they provide easy access to related functions and properties.

Properties

NameTypeGet/SetBrief
GeneralFolderPathstrYes/YesThe general folder path.
ShowFolderNameboolYes/YesWhether folder names are to be shown for every file in list on dialogs.
StartFolderstrYes/YesGet the Start folder if “Start In” is set to start in a specific named folder.
StartOptionStartOptionYes/YesNo description provided.

Methods

NameReturnsArguments
GetListFolderListcategory : ListCategory
SetOutputFilePatternnoneoutput : OutputCategory
nameTemplate : str
SetOutputFolderNamenoneoutput : OutputCategory
folderName : str
SetOutputLocationnoneoutput : OutputCategory
location : FolderLocation

Enumerations

FolderLocation

NameValueDescription
Absolute0Specific (absolute) folder.
BelowDesign1Folder below the design or library folder.
WithDesign2Same folder as the design or library.
General3The “catch all” folder defined on the “General” page of the “Folders” dialog.

ListCategory

NameValueDescription
Blocks0No description provided.
Colours1No description provided.
Formats2No description provided.
Libraries3No description provided.
Macros4No description provided.
Profiles5No description provided.
Scripts6No description provided.
Step7No description provided.
Technology8No description provided.

OutputCategory

NameValueDescription
CamPlot0No description provided.
DesignReports1No description provided.
LibraryReports2No description provided.

StartOption

NameValueDescription
SystemDefault0Use operating system setting.
NamedFolder1Start in a named folder which can be set using StartFolder.
LastUsed2Start in the last used folder.

Property Details

GeneralFolderPath

Type: str

The general folder path.


ShowFolderName

Type: bool

Whether folder names are to be shown for every file in list on dialogs.


StartFolder

Type: str

Get the Start folder if “Start In” is set to start in a specific named folder.


StartOption

Type: StartOption

Method Details

GetList

Returns FolderList.

Arguments:


SetOutputFilePattern

The output file name pattern.

Arguments:


SetOutputFolderName

The name of the folder.

Arguments:


SetOutputLocation

The folder location.

Arguments: