The DataShortcuts type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | AssociateDSProject(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.
|
![]() ![]() | AssociateDSProject(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.
|
![]() ![]() | AssociateDSProject(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.
|
![]() ![]() | CreateDataShortcutManager | |
![]() ![]() | CreateProjectFolder(String, Boolean) | |
![]() ![]() | CreateProjectFolder(String, String, Boolean) | |
![]() ![]() | CreateProjectFolder(String, String, String, Boolean) | |
![]() ![]() | CreateReference(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.
|
![]() ![]() | CreateReference(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.
|
![]() | Dispose | Releases all resources used by the DataShortcuts |
![]() ![]() | GetAllProjectFolders | |
![]() ![]() | GetAssociateShortcutProjectIdFromDrawing |
Get associated project id according to input drawing.
|
![]() ![]() | GetCurrentProjectFolder | |
![]() ![]() | GetDescriptionDataShorcutProjectFolder()()()() | |
![]() ![]() | GetDescriptionDataShorcutProjectFolder(String) | |
![]() ![]() | GetDSProjectId |
Get data shortcut project id according to project path.
The caller will set working folder to parent directory of the project path.
|
![]() ![]() | GetOtherProjectFolders | |
![]() ![]() | GetWorkingFolder | |
![]() ![]() | RepairBrokenDRef(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.
|
![]() ![]() | RepairBrokenDRef(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.
|
![]() ![]() | SaveDataShortcutManager | |
![]() ![]() | SetCurrentProjectFolder | |
![]() ![]() | SetWorkingFolder | |
![]() ![]() | Validate |