The DataShortcuts type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAssociateDSProject(String)
Associate a data shortcut project to current drawing. Current drawing will be saved after associating. The caller will set working folder to parent directory of the project path corresponding to the project id. The caller will set input project to active project.
Public methodStatic memberAssociateDSProject(String, String)
Associate a data shortcut project to the input drawing file. Input drawing file will be saved after associating. The caller will set working folder to parent directory of the project path corresponding to the project id. The caller will set input project to active project.
Public methodStatic memberAssociateDSProject(String, Database, Boolean)
Associate a data shortcut project to the input drawing. The caller will set working folder to parent directory of the project path corresponding to the project id. The caller will set input project to active project.
Public methodStatic memberCreateDataShortcutManager
Public methodStatic memberCreateProjectFolder(String, Boolean)
Public methodStatic memberCreateProjectFolder(String, String, Boolean)
Public methodStatic memberCreateProjectFolder(String, String, String, Boolean)
Public methodStatic memberCreateReference(Database, Database, String, DataShortcutEntityType)
Create Data Reference entity at host drawing according to host database, source database entity name of source drawing and Data Shortcut entity type.
Public methodStatic memberCreateReference(Database, String, String, DataShortcutEntityType)
Create Data Reference entity at host drawing according to host database, source drawing file name, entity name and Data Shortcut entity type.
Public methodDispose
Releases all resources used by the DataShortcuts
Public methodStatic memberGetAllProjectFolders
Public methodStatic memberGetAssociateShortcutProjectIdFromDrawing
Get associated project id according to input drawing.
Public methodStatic memberGetCurrentProjectFolder
Public methodStatic memberGetDescriptionDataShorcutProjectFolder()()()()
Public methodStatic memberGetDescriptionDataShorcutProjectFolder(String)
Public methodStatic memberGetDSProjectId
Get data shortcut project id according to project path. The caller will set working folder to parent directory of the project path.
Public methodStatic memberGetOtherProjectFolders
Public methodStatic memberGetWorkingFolder
Public methodStatic memberRepairBrokenDRef(ObjectId, String)
A reference entity was broken means its referenced drawing or entity was not found. Update the broken reference entity's referenced drawing path with the target drawing path to fix the broken issue in host drawing.
Public methodStatic memberRepairBrokenDRef(ObjectId, String, Boolean)
A reference entity was broken means its referenced drawing or entity was not found. Update the broken reference entity's referenced drawing path with the target drawing path to fix the broken issue in host drawing. If autoRepairOther == true and the specified broken DRef can be repaired successfully, we will try to repair all other broken reference entities with the same source drawing.
Public methodStatic memberSaveDataShortcutManager
Public methodStatic memberSetCurrentProjectFolder
Public methodStatic memberSetWorkingFolder
Public methodStatic memberValidate

See Also