DataShortcuts Class

Inheritance Hierarchy
SystemObject
  Autodesk.Civil.DataShortcutsDataShortcuts

Namespace: Autodesk.Civil.DataShortcuts
Assembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.8.0.292
Syntax
public class DataShortcuts : IDisposable

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. Please manually right-click "Refresh" under the "Data Shortcuts" node in C3D's "Prospector".
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. Please manually right-click "Refresh" under the "Data Shortcuts" node in C3D's "Prospector".
Public methodStatic memberCode exampleAssociateDSProject(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. Please manually right-click "Refresh" under the "Data Shortcuts" node in C3D's "Prospector".
Public methodStatic memberCreateDataShortcutManager 
Public methodStatic memberCode exampleCreatePartialReferenceSurface Creates a partial reference surface with a specified boundary in the host drawing according to the host database, source drawing file name, surface name, and boundary object ID.
Public methodStatic memberCreateProjectFolder(String, Boolean) Create a project folder with the given name. If the current project is set, please manually right-click "Refresh" under the "Data Shortcuts" node in C3D's "Prospector".
Public methodStatic memberCreateProjectFolder(String, String, Boolean) Create a project folder with the given name and description. If the current project is set, please manually right-click "Refresh" under the "Data Shortcuts" node in C3D's "Prospector".
Public methodStatic memberCreateProjectFolder(String, String, String, Boolean) Create a project folder with the given name, description, and template path. If the current project is set, please manually right-click "Refresh" under the "Data Shortcuts" node in C3D's "Prospector".
Public methodStatic memberCode exampleCreateReference(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 memberCode exampleCreateReference(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 methodDisposeReleases 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 memberCode exampleUpdatePartialReferenceSurface Updates a partial reference surface in the host database after the user edits (adds, deletes, or changes) the reference boundary.
Public methodStatic memberValidate 
Top
See Also