TinSurfaceCreateFromIMX Method |
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.8.0.292
Syntaxpublic static ObjectId CreateFromIMX(
Database database,
ObjectId styleId,
string imxFileName,
string surfaceName,
string gitHash,
string query,
bool doCoordSysConversion
)
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
public:
static ObjectId CreateFromIMX(
Database^ database,
ObjectId styleId,
String^ imxFileName,
String^ surfaceName,
String^ gitHash,
String^ query,
bool doCoordSysConversion
)
Parameters
- database Database
- The database where the new surface should be created.
- styleId ObjectId
- The object id of the surface style. Passing AcDbObjectId::kNull will create with the default style.
- imxFileName String
- The full file path of the IMX file.
- surfaceName String
- The name of the surface within the IMX file.
- gitHash String
- The git hash value.
- query String
- The query value.
- doCoordSysConversion Boolean
- true to perform coordinate system conversion if possible
Return Value
ObjectId
ExceptionsException | Condition |
---|
[!:System.ArgumentException] |
Thrown when :
- 1.The file imxFileName doesn't exist.
- 2.The IMX file can't be loaded.
|
See Also