Share

SubassemblyCollection Class

A collection of Subassembly objects.

Inheritance Hierarchy

SystemObject
  [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>]
    Autodesk.Civil.DatabaseServicesSubassemblyCollection


Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public sealed class SubassemblyCollection : [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>], 
	IEnumerable<ObjectId>

VB

Public NotInheritable Class SubassemblyCollection
	Inherits [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>]
	Implements IEnumerable(Of ObjectId)

C++

public ref class SubassemblyCollection sealed : public [T:Autodesk.Civil.CivilWrapper<AcDbDatabase>], 
	IEnumerable<ObjectId>

The SubassemblyCollection type exposes the following members.

Properties

 NameDescription
Public propertyCount Gets the number of Subassembly objects in the collection.
Public propertyItemInt32 
Public propertyItemString 

Methods

 NameDescription
Public methodAdd Adds a subassembly with the specified name, entity, mid-ordinate distance and link creation option.
Public methodGetEnumerator Implements the method declared in the IEnumerable<T> interface. This method returns an enumerator for this collection.
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface. This method returns an enumerator for this collection.
Public methodGetSubassemblyIdsByName Gets subassembly id collection by name.
Public methodImportSACSubassembly Import a subassembly object from a SAC PKT file.
Public methodImportStockSubassembly Imports a stock Subassembly object with its class name.
Public methodImportSubassembly Imports a Subassembly object from an atc file specified by its itemId.
Public methodRemove Removes a subassembly by given subassembly id.
Public methodRemoveAt Removes a subassembly by index.

See Also

Reference

Was this information helpful?