Creates a new instance of a TinSurface from a specified IMX file to the specified database.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public static ObjectId CreateFromIMX( Database database, ObjectId styleId, string imxFileName, string surfaceName, string gitHash, string query, bool doCoordSysConversion )
Visual Basic
Public Shared Function CreateFromIMX ( _ database As Database, _ styleId As ObjectId, _ imxFileName As String, _ surfaceName As String, _ gitHash As String, _ query As String, _ doCoordSysConversion As Boolean _ ) As ObjectId
Visual C++
public: static ObjectId CreateFromIMX( Database^ database, ObjectId styleId, String^ imxFileName, String^ surfaceName, String^ gitHash, String^ query, bool doCoordSysConversion )
Parameters
- database
- Type: Database
The database where the new surface should be created.
- styleId
- Type: ObjectId
The object id of the surface style. Passing AcDbObjectId::kNull will create with the default style.
- imxFileName
- Type: System.String
The full file path of the IMX file.
- surfaceName
- Type: System.String
The name of the surface within the IMX file.
- gitHash
- Type: System.String
The git hash value.
- query
- Type: System.String
The query value.
- doCoordSysConversion
- Type: System.Boolean
true to perform coordinate system conversion if possible
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] |
Thrown when :
|