Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a .NET add-in written in C# that works well for importing a profile:
// Access the Preferences object
AcadPreferences acPrefComObj = (AcadPreferences)Application.Preferences;
// Load the OFC AutoCAD Profile
acPrefComObj.Profiles.ImportProfile("ACAD_Profile", @"C:\CADContent\2019\acad\profiles\ACAD_Profile.arg",true);
What I can't figure out is how to set the profile as active. I just don't see where the API allows it. Any ideas?
Solved! Go to Solution.