This is a read write property value (can be assigned to or read from)

Gets or Sets the Current Working Directory in the CAD Environment.

Return Value

The full path of the current working directory as a string

Remarks

This is synonymous with the same manual user action

Examples

Assign a new directory

Dim dir as string = "c:\work\transformers\modelA100"
CAD.CurrentDirectory = dir

Read the current directory into a variable

Dim dir as string = CAD.CurrentDirectory