Adding paths and filenames in AutoCad options with c#

Adding paths and filenames in AutoCad options with c#

youssefGC
Advocate Advocate
285 Views
1 Reply
Message 1 of 2

Adding paths and filenames in AutoCad options with c#

youssefGC
Advocate
Advocate

Hello forum,

Is it possible to programmatically add or set the various paths and files found in the options dialogue of the UI?

0EM3A000000ESxS.jpeg


Thank you.

0 Likes
286 Views
1 Reply
Reply (1)
Message 2 of 2

_gile
Consultant
Consultant

Hi,

You can access the the Preferences COM object via the Application.Preferences property.

The Preference object has a Files property of type PreferenceFiles which contains the properties corresponding to the Options Files tab contents.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub