LoadSetupProfile Example

Land Auto

LoadSetupProfile Example

Sub Example_LoadSetupProfile()
    
    ' This example loads an existing drawing setup profile.
    Dim dbPref As AeccDatabasePreferences
    Set dbPref = AeccApplication.ActiveDocument.DatabasePreferences
    
    ' If no extension is supplied, ".set" is appended automatically.
    Pref.LoadSetupProfile("i20.set")
    
End Sub