SubassemblyCollectionImportSACSubassembly Method

Import a subassembly object from a SAC PKT file.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectId ImportSACSubassembly(
	string subassemblyName,
	string pktFilePath,
	Point3d location
)

Parameters

subassemblyName  String
Subassembly name used to create subassembly.
pktFilePath  String
File path of the pkt file.
location  Point3d
The location of the new created subassembly.

Return Value

ObjectId
Exceptions
ExceptionCondition
[!:System.ArgumentException] Thrown when:
  • The subassemblyName is invalid or an Subassembly with the name is already existing.
  • The file in the path is not a valid PKT file created by Subassembly Composer.
See Also