Loads from TerraGate SFS an IMeshLayer66 representing a unified, stream optimized 3D Mesh Layer (3DML) database.
JavaScript |
|
CreateMeshLayerFromSFS( ServerPath, layerName, ParentGroupID) |
C# |
|
IMeshLayer66 CreateMeshLayerFromSFS( string ServerPath, string layerName, [string ParentGroupID = ""]) |
C++ |
|
HRESULT CreateMeshLayerFromSFS( BSTR ServerPath, BSTR layerName, BSTR ParentGroupID, IMeshLayer66** pIMeshLayer) |
Parameters
ServerPath
A URL to the TerraGate SFS server.
layerName
A string representing the name of the layer
ParentGroupID
The Project Tree group in which the layer is created. If it is set to an empty string, the object is created under the root. You can obtain the GroupID by one of the following methods:
· Create the group using IProjectTree66.CreateGroup.
· Find the group, if you know the name, using IProjectTree66.FindItem.
· Traverse the Tree using IProjectTree66 methods such as GetNextItem, until you come to the desired GroupID.
Return Value
pIMeshLayer
An IMeshLayer66 representing the newly created layer.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.