Share

DataShortcuts.DataShortcutManager Class

Inheritance Hierarchy

SystemObject
  Autodesk.Civil.DataShortcutsDataShortcutsDataShortcutManager


Namespace: Autodesk.Civil.DataShortcuts
Assembly: AeccDataShortcutMgd (in AeccDataShortcutMgd.dll) Version: 13.8.0.280

Syntax

C#

public class DataShortcutManager : IDisposable

VB

Public Class DataShortcutManager
	Implements IDisposable

C++

public ref class DataShortcutManager : IDisposable

The DataShortcutsDataShortcutManager type exposes the following members.

Methods

 NameDescription
Public methodCode 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 methodCode exampleCreateReference Create Data Reference entity at host drawing according to index of entity in data shortcut project.
Public methodDisposeReleases all resources used by the DataShortcutsDataShortcutManager
Public methodGetCurrentlySelectedItemsIndexList 
Public methodGetDependentItemsIndexList 
Public methodGetDirectChildrenItemsIndexList 
Public methodGetExportableItemAt This method is used to get the information of an exportable object. Not only itself, but also its parent, direct children, recursive children and dependent objects.
Public methodGetExportableItemsCount 
Public methodGetItemNameAt 
Public methodGetParentItemIndex 
Public methodCode exampleGetPublishedItemAt This method is used to get the information of a Data Shortcut from current Data Shortcut project. API users can get the information: what is the name of the Data Shortcut, where is the expected source drawing and whether it is broken or not.
Public methodGetPublishedItemsCount This method is used to get the number of all Data Shortcuts from current Data Shortcut project.
Public methodGetRecursiveChildrenItemsIndexList 
Public methodHasExpired 
Public methodIsItemAtIndexAlreadyPublished 
Public methodCode exampleRepairBrokenDataShortcut(Int32, String) This method is used to repair the broken Data Shortcut. A broken Data Shortcut is the one which source drawing or source entity can not be found. This method only try to repair the specified broken Data Shortcut.
Public methodCode exampleRepairBrokenDataShortcut(Int32, String, Boolean) This method is used to repair the broken Data Shortcut. A broken Data Shortcut is the one which source drawing or source entity can not be found. If autoRepairOther == true and the specified broken Data Shortcut can be repaired successfully, we will try to repair all other broken Data Shortcuts with the same source drawing.
Public methodSetSelectItemAtIndex 

See Also

Reference

Was this information helpful?