adc
Wrapping Autodesk Desktop Connector API.
Attributes
mlogger = logger.get_logger(__name__)
module-attribute
ADC_NAME = 'Autodesk Desktop Connector'
module-attribute
ADC_SHORTNAME = 'ADC'
module-attribute
ADC_DRIVE_SCHEMA = '{drive_name}://'
module-attribute
ADC_DEFAULT_INSTALL_PATH = 'C:\\Program Files\\Autodesk\\Desktop Connector'
module-attribute
ADC_API_DLL = 'Autodesk.DesktopConnector.API.dll'
module-attribute
ADC_API_DLL_PATH = op.join(ADC_DEFAULT_INSTALL_PATH, ADC_API_DLL)
module-attribute
Classes
Functions
is_available()
get_drive_paths()
get_local_path(path)
Convert ADC BIM360 drive path to local path.
lock_file(path)
is_locked(path)
Check if file is locked.
unlock_file(path)
is_synced(path)
Check if file is synchronized.
Source code in pyrevitlib/pyrevit/interop/adc.py
sync_file(path, force=False)
Force ADC to sync given file to latest version.